|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.URLName org.apache.mailet.HostAddress
public class HostAddress
A specialized subclass of javax.mail.URLName, which provides the name of a URL as well as its corresponding host name.
Field Summary |
---|
Fields inherited from class javax.mail.URLName |
---|
fullURL |
Constructor Summary | |
---|---|
HostAddress(java.lang.String hostname,
java.lang.String url)
Constructs a new host address with the given details. |
Method Summary | |
---|---|
java.lang.String |
getHostName()
Returns the host name corresponding to the url |
Methods inherited from class javax.mail.URLName |
---|
equals, getFile, getHost, getPassword, getPort, getProtocol, getRef, getURL, getUsername, hashCode, parseString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HostAddress(java.lang.String hostname, java.lang.String url)
hostname
- the hostname corresponding to the urlurl
- the url nameMethod Detail |
---|
public java.lang.String getHostName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |