Methods Summary |
---|
public java.lang.Object | clone()Copies the current instance.
Email retval = new Email();
retval.userName = userName;
retval.hostName = hostName;
return retval;
|
public java.lang.String | encode()Gest the string encoded version of this object.
return userName + Separators.AT + hostName;
|
public java.lang.String | getHostName()Gets the host name.
return hostName;
|
public java.lang.String | getUserName()Gets the user name.
return userName;
|
public void | setHostName(java.lang.String h)Sets the host name member.
hostName = h.trim();
|
public void | setUserName(java.lang.String u)Sets the user name member.
userName = u;
|