Java javax.mail.internet InternetAddress fields, constructors, methods, implement or subclass

Example usage for Java javax.mail.internet InternetAddress fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail.internet InternetAddress.

The text is from its open source code.

Constructor

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.

Method

booleanequals(Object a)
The equality operator.
StringgetAddress()
Get the email address.
InternetAddress[]getGroup(boolean strict)
Return the members of a group address.
InternetAddressgetLocalAddress(Session session)
Return an InternetAddress object representing the current user.
StringgetPersonal()
Get the personal name.
booleanisGroup()
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.
voidsetAddress(String address)
Set the email address.
voidsetPersonal(String name, String charset)
Set the personal name.
voidsetPersonal(String name)
Set the personal name.
StringtoString(Address[] addresses)
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
StringtoString()
Convert this address into a RFC 822 / RFC 2047 encoded address.
StringtoUnicodeString()
Returns a properly formatted address (RFC 822 syntax) of Unicode characters.
voidvalidate()
Validate that this address conforms to the syntax rules of RFC 822.