@Test void testGetLocalPart() throws AddressException { MailAddress a = new MailAddress(new InternetAddress(GOOD_QUOTED_LOCAL_PART)); assertThat(a.getLocalPart()).isEqualTo(GOOD_LOCAL_PART); }
public String getLocalPart() { return localPart; }
MailAddress implements java.io.Serializable { public String getLocalPart() { return localPart; } }
MailAddress implements java.io.Serializable { public String getLocalPart() { return localPart; } private  MailAddress();  MailAddress(String address);  MailAddress(String localPart, String domain);  MailAddress(String localPart, Domain domain);  MailAddress(InternetAddress address); }
MailAddress implements java.io.Serializable { public String getLocalPart() { return localPart; } private  MailAddress();  MailAddress(String address);  MailAddress(String localPart, String domain);  MailAddress(String localPart, Domain domain);  MailAddress(InternetAddress address); static MailAddress nullSender(); @Deprecated static MailAddress getMailSender(String sender); @Deprecated String getHost(); Domain getDomain(); @Deprecated String getUser(); String getLocalPart(); String asString(); @Override String toString(); String asPrettyString(); InternetAddress toInternetAddress(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Deprecated boolean isNullSender(); }
MailAddress implements java.io.Serializable { public String getLocalPart() { return localPart; } private  MailAddress();  MailAddress(String address);  MailAddress(String localPart, String domain);  MailAddress(String localPart, Domain domain);  MailAddress(InternetAddress address); static MailAddress nullSender(); @Deprecated static MailAddress getMailSender(String sender); @Deprecated String getHost(); Domain getDomain(); @Deprecated String getUser(); String getLocalPart(); String asString(); @Override String toString(); String asPrettyString(); InternetAddress toInternetAddress(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Deprecated boolean isNullSender(); static final Logger LOGGER; static final long serialVersionUID; static final String NULL_SENDER_AS_STRING; }