| Modifier and Type | Method and Description |
|---|---|
private Mailbox |
Message.Builder.getMailbox(java.lang.String fieldName) |
Mailbox |
Message.getSender()
Returns the value of the Sender header field of this message as
Mailbox object or null if it is not
present. |
Mailbox |
Message.Builder.getSender()
Returns the value of the Sender header field of this message as
Mailbox object or null if it is not
present. |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<Mailbox> |
Message.Builder.parseMailboxes(java.lang.String... mailboxes) |
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
Message.Builder.setFrom(Mailbox... from)
Sets From header field of this message to the specified
mailbox addresses.
|
Message.Builder |
Message.Builder.setFrom(Mailbox from)
Sets From header field of this message to the specified
mailbox address.
|
private Message.Builder |
Message.Builder.setMailbox(java.lang.String fieldName,
Mailbox mailbox) |
private Message.Builder |
Message.Builder.setMailboxList(java.lang.String fieldName,
Mailbox... mailboxes) |
private Message.Builder |
Message.Builder.setMailboxList(java.lang.String fieldName,
Mailbox mailbox) |
Message.Builder |
Message.Builder.setSender(Mailbox sender)
Sets Sender header field of this message to the specified
mailbox address.
|
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
Message.Builder.setFrom(java.util.Collection<Mailbox> from)
Sets From header field of this message to the specified
mailbox addresses.
|
private Message.Builder |
Message.Builder.setMailboxList(java.lang.String fieldName,
java.util.Collection<Mailbox> mailboxes) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Mailbox> |
MailboxList.mailboxes |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
MailboxList.get(int index)
Gets an address.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
Address.addMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.
|
protected void |
Group.doAddMailboxesTo(java.util.List<Mailbox> results) |
protected void |
Mailbox.doAddMailboxesTo(java.util.List<Mailbox> results) |
protected abstract void |
Address.doAddMailboxesTo(java.util.List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.
|
| Constructor and Description |
|---|
Group(java.lang.String name,
Mailbox... mailboxes) |
Mailbox(java.lang.String name,
Mailbox baseMailbox)
Creates a named mailbox based on an unnamed mailbox.
|
MailboxList(Mailbox... mailboxes) |
| Constructor and Description |
|---|
Group(java.lang.String name,
java.util.Collection<Mailbox> mailboxes) |
MailboxList(java.util.List<Mailbox> mailboxes) |
MailboxList(java.util.List<Mailbox> mailboxes,
boolean dontCopy) |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
MailboxField.getMailbox() |
| Modifier and Type | Field and Description |
|---|---|
private Mailbox |
MailboxFieldImpl.mailbox |
private Mailbox |
MailboxFieldLenientImpl.mailbox |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
MailboxFieldImpl.getMailbox() |
Mailbox |
MailboxFieldLenientImpl.getMailbox() |
| Modifier and Type | Method and Description |
|---|---|
static MailboxListField |
Fields.from(Mailbox... mailboxes)
Creates a From field for the specified mailbox addresses.
|
static MailboxListField |
Fields.from(Mailbox mailbox)
Creates a From field for the specified mailbox address.
|
static MailboxField |
Fields.mailbox(java.lang.String fieldName,
Mailbox mailbox)
Creates a mailbox field from the specified field name and mailbox
address.
|
private static MailboxField |
Fields.mailbox0(java.lang.String fieldName,
Mailbox mailbox) |
static MailboxField |
Fields.sender(Mailbox mailbox)
Creates a Sender field for the specified mailbox address.
|
| Modifier and Type | Method and Description |
|---|---|
static MailboxListField |
Fields.from(java.lang.Iterable<Mailbox> mailboxes)
Creates a From field for the specified mailbox addresses.
|
static MailboxListField |
Fields.mailboxList(java.lang.String fieldName,
java.lang.Iterable<Mailbox> mailboxes)
Creates a mailbox-list field from the specified field name and mailbox
addresses.
|
private static MailboxListField |
Fields.mailboxList0(java.lang.String fieldName,
java.lang.Iterable<Mailbox> mailboxes) |
| Modifier and Type | Method and Description |
|---|---|
private Mailbox |
Builder.buildAddrSpec(ASTaddr_spec node) |
private Mailbox |
Builder.buildAddrSpec(DomainList route,
ASTaddr_spec node) |
private Mailbox |
Builder.buildAngleAddr(ASTangle_addr node) |
Mailbox |
Builder.buildMailbox(ASTmailbox node,
DecodeMonitor monitor) |
private Mailbox |
Builder.buildNameAddr(ASTname_addr node,
DecodeMonitor monitor) |
private Mailbox |
LenientAddressParser.createMailbox(java.lang.String localPart) |
private Mailbox |
LenientAddressParser.createMailbox(java.lang.String name,
DomainList route,
java.lang.String localPart,
java.lang.String domain) |
Mailbox |
LenientAddressParser.parseMailbox(ByteSequence buf,
ParserCursor cursor,
java.util.BitSet delimiters) |
Mailbox |
AddressParser.parseMailbox(java.lang.CharSequence text)
Parses the specified raw string into a mailbox address.
|
Mailbox |
DefaultAddressParser.parseMailbox(java.lang.CharSequence text) |
Mailbox |
LenientAddressParser.parseMailbox(java.lang.CharSequence text) |
Mailbox |
DefaultAddressParser.parseMailbox(java.lang.CharSequence text,
DecodeMonitor monitor)
Parses the specified raw string into a mailbox address.
|
(package private) Mailbox |
LenientAddressParser.parseMailboxAddress(java.lang.String openingText,
ByteSequence buf,
ParserCursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.List<Mailbox> |
LenientAddressParser.parseMailboxes(ByteSequence buf,
ParserCursor cursor,
java.util.BitSet delimiters) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
AddressFormatter.encode(Mailbox mailbox) |
void |
AddressFormatter.encode(java.lang.StringBuilder sb,
Mailbox mailbox) |
java.lang.String |
AddressFormatter.format(Mailbox mailbox,
boolean includeRoute) |
void |
AddressFormatter.format(java.lang.StringBuilder sb,
Mailbox mailbox,
boolean includeRoute) |
| Modifier and Type | Method and Description |
|---|---|
private Mailbox |
AbstractMessage.getMailbox(java.lang.String fieldName) |
Mailbox |
MessageBuilder.getSender()
Deprecated.
|
Mailbox |
AbstractMessage.getSender()
Returns the value of the Sender header field of this message as
Mailbox object or null if it is not
present. |
| Modifier and Type | Method and Description |
|---|---|
MessageBuilder |
MessageBuilder.setFrom(Mailbox... from)
Deprecated.
|
MessageBuilder |
MessageBuilder.setFrom(Mailbox from)
Deprecated.
|
MessageBuilder |
MessageBuilder.setSender(Mailbox sender)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MessageBuilder |
MessageBuilder.setFrom(java.util.Collection<Mailbox> from)
Deprecated.
|