|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.util.EmailAddress
Represents an Internet e-mail address - username and host can be retrieved separately.
This may seem rather banal. It's useful for three reasons, however:
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
Constructor Summary | |
EmailAddress(java.lang.String friendlyAddress)
Constructs an EmailAddress from the given friendly address. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
host()
Gets the host name/domain for this address (i.e. |
java.util.Vector |
hostPath()
Gets a Vector containing each dot-separated component of the host name. |
static void |
main(java.lang.String[] args)
|
static void |
self_test(java.io.PrintWriter out)
|
java.lang.String |
toString()
|
java.lang.String |
user()
Gets the username for this address (i.e. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EmailAddress(java.lang.String friendlyAddress) throws java.io.IOException
java.io.IOException
- if the address is not valid.Method Detail |
public java.lang.String toString()
public java.lang.String user()
public java.lang.String host()
public java.util.Vector hostPath()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static void main(java.lang.String[] args)
public static void self_test(java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |