class MailAddress implements java.io.Serializable {

    public InternetAddress toInternetAddress() {
        try {
            return new InternetAddress(toString());
        } catch (javax.mail.internet.AddressException ae) {
            //impossible really
            return null;
        }
    }

    private  MailAddress();
    public  MailAddress(String address);
    public  MailAddress(String localPart, String domain);
    public  MailAddress(String localPart, Domain domain);
    public  MailAddress(InternetAddress address);

}