Package | Description |
---|---|
com.sun.mail.imap.protocol | |
com.sun.mail.util.logging |
Contains JavaMailTM extensions for
the JavaTM platform's core logging
facilities.
|
javax.mail.internet |
Classes specific to Internet mail systems.
|
Modifier and Type | Method and Description |
---|---|
InternetAddress[] |
IMAPAddress.getGroup(boolean strict) |
Modifier and Type | Method and Description |
---|---|
private AddressException |
MailHandler.tooManyAddresses(Address[] address,
int offset)
A common factory used to create the too many addresses exception.
|
Modifier and Type | Method and Description |
---|---|
private static void |
MailHandler.verifyAddresses(Address[] all)
Calls validate for every address given.
|
Modifier and Type | Method and Description |
---|---|
(package private) static InternetAddress |
InternetAddress._getLocalAddress(Session session)
A package-private version of getLocalAddress that doesn't swallow
the exception.
|
private static void |
InternetAddress.checkAddress(java.lang.String addr,
boolean routeAddr,
boolean validate)
Check that the address is a valid "mailbox" per RFC822.
|
InternetAddress[] |
InternetAddress.getGroup(boolean strict)
Return the members of a group address.
|
static InternetAddress[] |
InternetAddress.parse(java.lang.String addresslist)
Parse the given comma separated sequence of addresses into
InternetAddress objects.
|
static NewsAddress[] |
NewsAddress.parse(java.lang.String newsgroups)
Parse the given comma separated sequence of newsgroup into
NewsAddress objects.
|
static InternetAddress[] |
InternetAddress.parse(java.lang.String addresslist,
boolean strict)
Parse the given sequence of addresses into InternetAddress
objects.
|
private static InternetAddress[] |
InternetAddress.parse(java.lang.String s,
boolean strict,
boolean parseHdr) |
static InternetAddress[] |
InternetAddress.parseHeader(java.lang.String addresslist,
boolean strict)
Parse the given sequence of addresses into InternetAddress
objects.
|
void |
InternetAddress.validate()
Validate that this address conforms to the syntax rules of
RFC 822.
|
Constructor and Description |
---|
InternetAddress(java.lang.String address)
Constructor.
|
InternetAddress(java.lang.String address,
boolean strict)
Parse the given string and create an InternetAddress.
|