/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | ReferralException.java | 55 private String url; field in class:ReferralException 64 * @param url the URL 66 public ReferralException(String url, String text) { argument 67 super("[REFERRAL " + url + "] " + text); 68 this.url = url; 78 return url;
|
H A D | IMAPSSLStore.java | 56 * @param url the URLName of this store 58 public IMAPSSLStore(Session session, URLName url) { argument 59 super(session, url, "imaps", true); // call super constructor
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | IMAPReferralException.java | 53 private String url; field in class:IMAPReferralException 62 * @param url the URL 64 public IMAPReferralException(String s, String url) { argument 66 this.url = url; 75 return url;
|
/javamail/mbox/src/main/java/com/sun/mail/remote/ |
H A D | POP3RemoteStore.java | 53 public POP3RemoteStore(Session session, URLName url) { argument 54 super(session, url); 57 protected Store getRemoteStore(Session session, URLName url) { argument 58 return new POP3Store(session, url);
|
H A D | RemoteStore.java | 60 public RemoteStore(Session session, URLName url) { argument 61 super(session, url); 62 remoteStore = getRemoteStore(session, url); 70 protected abstract Store getRemoteStore(Session session, URLName url); argument 142 public Folder getFolder(URLName url) throws MessagingException { argument 144 return getFolder(url.getFile());
|
/javamail/android/activation/src/main/java/javax/activation/ |
H A D | URLDataSource.java | 61 private URL url = null; field in class:URLDataSource 69 * @param url The URL to be encapsulated in this object. 71 public URLDataSource(URL url) { argument 72 this.url = url; 91 url_conn = url.openConnection(); 110 return url.getFile(); 120 return url.openStream(); 132 // get the url connection if it is available 133 url_conn = url [all...] |
H A D | SecuritySupport.java | 93 URL url = (URL)e.nextElement(); 94 if (url != null) 95 v.add(url); 117 URL url = (URL)e.nextElement(); 118 if (url != null) 119 v.add(url); 132 public static InputStream openStream(final URL url) throws IOException { argument 137 return url.openStream();
|
H A D | MimetypesFileTypeMap.java | 188 URL url = urls[i]; 191 LogSupport.log("MimetypesFileTypeMap: URL " + url); 193 clis = SecuritySupport.openStream(url); 200 "mime types from URL: " + url); 205 "mime types from URL: " + url); 210 url, ioex); 214 url, sex);
|
/javamail/gimap/src/main/java/com/sun/mail/gimap/ |
H A D | GmailSSLStore.java | 60 * @param url the URLName of this store 62 public GmailSSLStore(Session session, URLName url) { argument 63 super(session, url, "gimaps", true);
|
H A D | GmailStore.java | 68 * @param url the URLName of this store 70 public GmailStore(Session session, URLName url) { argument 71 this(session, url, "gimap", true); 78 * @param url the URLName of this store 82 protected GmailStore(Session session, URLName url, argument 84 super(session, url, name, true); // Gmail requires SSL
|
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | POP3SSLStore.java | 52 public POP3SSLStore(Session session, URLName url) { argument 53 super(session, url, "pop3s", true);
|
H A D | POP3Store.java | 100 public POP3Store(Session session, URLName url) { argument 101 this(session, url, "pop3", false); 104 public POP3Store(Session session, URLName url, argument 106 super(session, url); 107 if (url != null) 108 name = url.getProtocol(); 381 public Folder getFolder(URLName url) throws MessagingException { argument 383 return new POP3Folder(this, url.getFile());
|
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | MboxStore.java | 65 public MboxStore(Session session, URLName url) { argument 66 super(session, url); 97 protected void setURLName(URLName url) { argument 99 if (url != null && (url.getUsername() != null || 100 url.getHost() != null || 101 url.getFile() != null)) 102 url = new URLName(url.getProtocol(), null, -1, null, null, null); 103 super.setURLName(url); 119 getFolder(URLName url) argument [all...] |
/javamail/mail/src/main/java/javax/mail/ |
H A D | Service.java | 72 protected volatile URLName url = null; field in class:Service 106 url = urlname; 120 // XXX - url should always be non-null here, Session 122 if (url != null) { 123 protocol = url.getProtocol(); 124 host = url.getHost(); 125 port = url.getPort(); 126 user = url.getUsername(); 127 password = url.getPassword(); 128 file = url 555 setURLName(URLName url) argument [all...] |
H A D | Session.java | 548 * @param url URLName that represents the desired Store 555 public Store getStore(URLName url) throws NoSuchProviderException { argument 556 String protocol = url.getProtocol(); 558 return getStore(p, url); 582 * @param url URLName used to instantiate the Store 587 private Store getStore(Provider provider, URLName url) argument 595 return getService(provider, url, Store.class); 613 * @param url URLName that represents the desired folder 622 public Folder getFolder(URLName url) argument 625 Store store = getStore(url); 679 getTransport(URLName url) argument 734 getTransport(Provider provider, URLName url) argument 757 getService(Provider provider, URLName url, Class<T> type) argument 842 setPasswordAuthentication(URLName url, PasswordAuthentication pw) argument 857 getPasswordAuthentication(URLName url) argument 1284 openStream(final URL url) argument [all...] |
H A D | URLName.java | 173 * @param url the URL 175 public URLName(URL url) { argument 176 this(url.toString()); 183 * @param url the URL string 185 public URLName(String url) { argument 186 parseString(url); 253 * @param url the URL string to parse 255 protected void parseString(String url) { argument 261 int len = url.length(); 266 int protocolEnd = url [all...] |
/javamail/client/src/main/java/ |
H A D | StoreTreeNode.java | 112 URLName url = store.getURLName(); 113 if (url == null) { 117 URLName too = new URLName( url.getProtocol(), url.getHost(), url.getPort(), 118 url.getFile(), url.getUsername(), null);
|
H A D | SimpleClient.java | 54 static Vector url = new Vector(); field in class:SimpleClient 63 url.addElement(argv[++optind]); 73 if (usage || url.size() == 0) { 74 System.out.println("Usage: SimpleClient -L url"); 75 System.out.println(" where url is protocol://username:password@hostname/"); 106 for (Enumeration e = url.elements() ; e.hasMoreElements() ;) {
|
/javamail/webapp/src/main/java/demo/ |
H A D | MailUserBean.java | 48 private URLName url; field in class:MailUserBean 139 * url getter method. 142 return url; 156 url = new URLName(protocol, getHostname(), -1, mbox, 180 store = session.getStore(url); 182 folder = store.getFolder(url);
|
/javamail/mail/src/test/java/com/sun/mail/test/ |
H A D | ClassLoaderSuite.java | 208 URL url = ClassLoaderSuite.class.getResource(name); 209 if (url.getProtocol().equals("file")) { 210 String file = url.getPath(); 213 //System.out.println("file URL " + url + " has CLASSPATH " + file); 215 } else if (url.getProtocol().equals("jar")) { 216 String file = url.getPath(); 220 //System.out.println("jar URL " + url + " has CLASSPATH " + file); 223 return url;
|
/javamail/demo/src/main/java/ |
H A D | copier.java | 61 URLName url = new URLName(argv[0]); 73 Store store = session.getStore(url);
|
H A D | folderlist.java | 50 static String url = null; field in class:folderlist 69 url = argv[++optind]; 83 "Usage: folderlist [-T protocol] [-H host] [-U user] [-P password] [-L url]"); 104 if (url != null) { 105 URLName urln = new URLName(url);
|
H A D | mover.java | 48 static String url = null; field in class:mover 64 url = argv[++optind]; 76 "Usage: mover [-T protocol] [-H host] [-U user] [-P password] [-L url] [-v]"); 104 if (url != null) { 105 URLName urln = new URLName(url);
|
H A D | namespace.java | 49 static String url = null; field in class:namespace 70 url = argv[++optind]; 80 "Usage: namespace [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 99 if (url != null) { 100 URLName urln = new URLName(url);
|
/javamail/demo/src/main/java/internal/ |
H A D | foldersplit.java | 50 static String url = null; field in class:foldersplit 78 url = argv[++optind]; 86 "Usage: foldersplit [-L url] [-T protocol] [-H host] [-p port] [-U user]"); 105 if (url != null) { 106 URLName urln = new URLName(url);
|