java.lang.Object | +--javax.mail.URLName
String | The full version of the URL |
URLName(String protocol, String host, int port, String file, String username, String password) Creates a URLName object from the specified protocol, host, port number, file, username, and password. |
URLName(URL url) Construct a URLName from a java.net.URL object. |
URLName(String url) Construct a URLName from the string. |
boolean | equals(Object other) Compares two URLNames. |
String | getFile() Returns the file name of this URLName. |
String | getHost() Returns the host of this URLName. |
String | Returns the password of this URLName. |
int | getPort() Returns the port number of this URLName. |
String | Returns the protocol of this URLName. |
String | getRef() Returns the reference of this URLName. |
URL | getURL() Constructs a URL from the URLName. |
String | Returns the user name of this URLName. |
int | hashCode() Compute the hash code for this URLName. |
void | parseString(String url) Method which does all of the work of parsing the string. |
String | toString() Constructs a string representation of this URLName. |
protected String fullURL
public URLName(String url)
public URLName(String protocol, String host, int port, String file, String username, String password)
public URLName(URL url)
public boolean equals(Object other)
public String getFile()
public String getHost()
public String getPassword()
public int getPort()
public String getProtocol()
public String getRef()
public URL getURL()
public String getUsername()
public int hashCode()
protected void parseString(String url)
public String toString()