Example usage for Java javax.mail.internet InternetAddress fields, constructors, methods, implement or subclass
The text is from its open source code.
InternetAddress(String address, boolean strict) Parse the given string and create an InternetAddress. | |
InternetAddress(String address, String personal) Construct an InternetAddress given the address and personal name. | |
InternetAddress(String address) Constructor. | |
InternetAddress() Default constructor. | |
InternetAddress(String address, String personal, String charset) Construct an InternetAddress given the address and personal name. |
boolean | equals(Object a) The equality operator. |
String | getAddress() Get the email address. |
InternetAddress[] | getGroup(boolean strict) Return the members of a group address. |
InternetAddress | getLocalAddress(Session session) Return an InternetAddress object representing the current user. |
String | getPersonal() Get the personal name. |
boolean | isGroup() Indicates whether this address is an RFC 822 group address. |
InternetAddress[] | parse(String addresslist, boolean strict) Parse the given sequence of addresses into InternetAddress objects. |
InternetAddress[] | parse(String addresslist) Parse the given comma separated sequence of addresses into InternetAddress objects. |
InternetAddress[] | parseHeader(String addresslist, boolean strict) Parse the given sequence of addresses into InternetAddress objects. |
void | setAddress(String address) Set the email address. |
void | setPersonal(String name, String charset) Set the personal name. |
void | setPersonal(String name) Set the personal name. |
String | toString(Address[] addresses) Convert the given array of InternetAddress objects into a comma separated sequence of address strings. |
String | toString() Convert this address into a RFC 822 / RFC 2047 encoded address. |
String | toUnicodeString() Returns a properly formatted address (RFC 822 syntax) of Unicode characters. |
void | validate() Validate that this address conforms to the syntax rules of RFC 822. |