|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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(String hostname,
String url)
Deprecated. Constructs a new host address with the given details. |
|
| Method Summary | |
|---|---|
String |
getHostName()
Deprecated. 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(String hostname,
String url)
hostname - the hostname corresponding to the urlurl - the url name| Method Detail |
|---|
public String getHostName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||