Searched defs:argv (Results 1 - 25 of 28) sorted by relevance

12

/javamail/demo/src/main/java/
H A Dcopier.java51 public static void main(String argv[]) { argument
54 if (argv.length != 5) {
61 URLName url = new URLName(argv[0]);
62 String src = argv[1]; // source folder
63 String dest = argv[2]; // dest folder
64 int start = Integer.parseInt(argv[3]); // copy from message #
65 int end = Integer.parseInt(argv[4]); // to message #
H A Dmonitor.java44 public static void main(String argv[]) { argument
45 if (argv.length != 5) {
63 store.connect(argv[0], argv[1], argv[2]);
66 Folder folder = store.getFolder(argv[3]);
97 int freq = Integer.parseInt(argv[4]);
H A Dmsgsend.java51 public static void main(String[] argv) { argument
67 for (optind = 0; optind < argv.length; optind++) {
68 if (argv[optind].equals("-T")) {
69 protocol = argv[++optind];
70 } else if (argv[optind].equals("-H")) {
71 host = argv[++optind];
72 } else if (argv[optind].equals("-U")) {
73 user = argv[++optind];
74 } else if (argv[optind].equals("-P")) {
75 password = argv[
[all...]
H A Dsmtpsend.java78 public static void main(String[] argv) { argument
97 for (optind = 0; optind < argv.length; optind++) {
98 if (argv[optind].equals("-T")) {
99 protocol = argv[++optind];
100 } else if (argv[optind].equals("-H")) {
101 host = argv[++optind];
102 } else if (argv[optind].equals("-U")) {
103 user = argv[++optind];
104 } else if (argv[optind].equals("-P")) {
105 password = argv[
[all...]
H A Dsendhtml.java53 public static void main(String[] argv) { argument
54 new sendhtml(argv);
57 public sendhtml(String[] argv) { argument
70 for (optind = 0; optind < argv.length; optind++) {
71 if (argv[optind].equals("-T")) {
72 protocol = argv[++optind];
73 } else if (argv[optind].equals("-H")) {
74 host = argv[++optind];
75 } else if (argv[optind].equals("-U")) {
76 user = argv[
[all...]
H A Dmover.java50 public static void main(String argv[]) { argument
54 for (optind = 0; optind < argv.length; optind++) {
55 if (argv[optind].equals("-T")) { // protocol
56 protocol = argv[++optind];
57 } else if (argv[optind].equals("-H")) { // host
58 host = argv[++optind];
59 } else if (argv[optind].equals("-U")) { // user
60 user = argv[++optind];
61 } else if (argv[optind].equals("-P")) { // password
62 password = argv[
[all...]
H A Dnamespace.java54 public static void main(String argv[]) { argument
58 for (optind = 0; optind < argv.length; optind++) {
59 if (argv[optind].equals("-T")) {
60 protocol = argv[++optind];
61 } else if (argv[optind].equals("-H")) {
62 host = argv[++optind];
63 } else if (argv[optind].equals("-U")) {
64 user = argv[++optind];
65 } else if (argv[optind].equals("-P")) {
66 password = argv[
[all...]
H A Dpopulate.java51 public static void main(String argv[]) { argument
58 for (optind = 0; optind < argv.length; optind++) {
59 if (argv[optind].equals("-s")) {
60 srcURL = argv[++optind];
61 } else if (argv[optind].equals("-d")) {
62 dstURL = argv[++optind];
63 } else if (argv[optind].equals("-D")) {
65 } else if (argv[optind].equals("-f")) {
67 } else if (argv[optind].equals("-S")) {
69 } else if (argv[optin
[all...]
H A Dsearch.java56 public static void main(String argv[]) { argument
65 for (optind = 0; optind < argv.length; optind++) {
66 if (argv[optind].equals("-T")) {
67 protocol = argv[++optind];
68 } else if (argv[optind].equals("-H")) {
69 host = argv[++optind];
70 } else if (argv[optind].equals("-U")) {
71 user = argv[++optind];
72 } else if (argv[optind].equals("-P")) {
73 password = argv[
[all...]
H A Duidmsgshow.java57 public static void main(String argv[]) { argument
61 for (optind = 0; optind < argv.length; optind++) {
62 if (argv[optind].equals("-T")) {
63 protocol = argv[++optind];
64 } else if (argv[optind].equals("-H")) {
65 host = argv[++optind];
66 } else if (argv[optind].equals("-U")) {
67 user = argv[++optind];
68 } else if (argv[optind].equals("-P")) {
69 password = argv[
[all...]
H A Dfolderlist.java57 public static void main(String argv[]) throws Exception { argument
59 for (optind = 0; optind < argv.length; optind++) {
60 if (argv[optind].equals("-T")) {
61 protocol = argv[++optind];
62 } else if (argv[optind].equals("-H")) {
63 host = argv[++optind];
64 } else if (argv[optind].equals("-U")) {
65 user = argv[++optind];
66 } else if (argv[optind].equals("-P")) {
67 password = argv[
[all...]
H A Dmsgshow.java63 public static void main(String argv[]) { argument
67 for (optind = 0; optind < argv.length; optind++) {
68 if (argv[optind].equals("-T")) {
69 protocol = argv[++optind];
70 } else if (argv[optind].equals("-H")) {
71 host = argv[++optind];
72 } else if (argv[optind].equals("-U")) {
73 user = argv[++optind];
74 } else if (argv[optind].equals("-P")) {
75 password = argv[
[all...]
/javamail/mail/src/oldtest/java/javax/mail/internet/socketfactory/
H A Dsocketfactorytest.java50 public static void main(String[] argv) { argument
57 for (optind = 0; optind < argv.length; optind++) {
58 if (argv[optind].equals("-U")) {
59 user = argv[++optind];
60 } else if (argv[optind].equals("-P")) {
61 password = argv[++optind];
62 } else if (argv[optind].equals("-M")) {
63 mailhost = argv[++optind];
64 } else if (argv[optind].equals("-d")) {
66 } else if (argv[optin
[all...]
/javamail/client/src/main/java/
H A DSimpleClient.java58 public static void main(String argv[]) { argument
61 for (int optind = 0; optind < argv.length; optind++) {
62 if (argv[optind].equals("-L")) {
63 url.addElement(argv[++optind]);
64 } else if (argv[optind].startsWith("-")) {
/javamail/demo/src/main/java/internal/
H A DTtyAuthenticator.java116 public static void main(String argv[]) throws Exception { argument
120 InetAddress.getByName(argv[0]),
121 Integer.parseInt(argv[1]), argv[2], z(argv[3]), z(argv[4]));
H A Dfoldersplit.java57 public static void main(String argv[]) { argument
60 for (optind = 0; optind < argv.length; optind++) {
61 if (argv[optind].equals("-T")) {
62 protocol = argv[++optind];
63 } else if (argv[optind].equals("-H")) {
64 host = argv[++optind];
65 } else if (argv[optind].equals("-U")) {
66 user = argv[++optind];
67 } else if (argv[optind].equals("-P")) {
68 password = argv[
[all...]
H A Dfpopulate.java53 public static void main(String argv[]) { argument
60 for (optind = 0; optind < argv.length; optind++) {
61 if (argv[optind].equals("-s")) {
62 srcdir = argv[++optind];
63 } else if (argv[optind].equals("-d")) {
64 dstURL = argv[++optind];
65 } else if (argv[optind].equals("-D")) {
67 } else if (argv[optind].equals("-f")) {
69 } else if (argv[optind].equals("-S")) {
71 } else if (argv[optin
[all...]
H A Dmsgsperweek.java66 public static void main(String argv[]) { argument
69 for (optind = 0; optind < argv.length; optind++) {
70 if (argv[optind].equals("-T")) {
71 protocol = argv[++optind];
72 } else if (argv[optind].equals("-H")) {
73 host = argv[++optind];
74 } else if (argv[optind].equals("-U")) {
75 user = argv[++optind];
76 } else if (argv[optind].equals("-P")) {
77 password = argv[
[all...]
H A Dtestidle.java66 public static void main(String argv[]) { argument
67 if (argv.length != 5) {
92 store.connect(argv[0], argv[1], argv[2]);
95 folder = store.getFolder(argv[3]);
125 totalTime = Integer.parseInt(argv[4]);
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DLineCounter.java79 public static void main(String argv[]) throws Exception { argument
H A DContentLengthUpdater.java132 public static void main(String argv[]) throws Exception { argument
135 new ContentLengthUpdater(System.out, Long.parseLong(argv[0]));
/javamail/mail/src/oldtest/java/javax/mail/internet/
H A Dmessagecachetest.java67 public static void main(String argv[]) { argument
71 for (optind = 0; optind < argv.length; optind++) {
72 if (argv[optind].equals("-T")) {
73 protocol = argv[++optind];
74 } else if (argv[optind].equals("-H")) {
75 host = argv[++optind];
76 } else if (argv[optind].equals("-U")) {
77 user = argv[++optind];
78 } else if (argv[optind].equals("-P")) {
79 password = argv[
[all...]
/javamail/mail/src/test/java/com/sun/mail/imap/protocol/
H A DUIDSetTest.java97 public static void main(String argv[]) throws Exception { argument
100 for (optind = 0; optind < argv.length; optind++) {
101 if (argv[optind].equals("-")) {
103 } else if (argv[optind].equals("-g")) {
105 } else if (argv[optind].equals("--")) {
108 } else if (argv[optind].startsWith("-")) {
/javamail/mail/src/test/java/com/sun/mail/util/
H A DUUDecoderStreamTest.java99 public static void main(String argv[]) throws Exception { argument
102 for (optind = 0; optind < argv.length; optind++) {
103 if (argv[optind].equals("-")) {
105 } else if (argv[optind].equals("-g")) {
107 } else if (argv[optind].equals("--")) {
110 } else if (argv[optind].startsWith("-")) {
/javamail/mail/src/test/java/javax/mail/internet/
H A DHeaderTokenizerTest.java96 public static void main(String argv[]) throws Exception { argument
98 for (optind = 0; optind < argv.length; optind++) {
99 if (argv[optind].equals("-")) {
101 } else if (argv[optind].equals("-g")) {
103 } else if (argv[optind].equals("-p")) {
105 } else if (argv[optind].equals("-c")) {
107 } else if (argv[optind].equals("-m")) {
109 } else if (argv[optind].equals("--")) {
112 } else if (argv[optind].startsWith("-")) {
125 if (optind < argv
[all...]

Completed in 876 milliseconds

12