Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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.
|
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(Collection<Mailbox> from)
Sets From header field of this message to the specified
mailbox addresses.
|
Modifier and Type | Method and Description |
---|---|
Mailbox |
MailboxList.get(int index)
Gets an address.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Group.doAddMailboxesTo(List<Mailbox> results) |
protected void |
Mailbox.doAddMailboxesTo(List<Mailbox> results) |
protected abstract void |
Address.doAddMailboxesTo(List<Mailbox> results)
Adds any mailboxes represented by this address into the given List.
|
Constructor and Description |
---|
Group(String name,
Mailbox... mailboxes) |
MailboxList(Mailbox... mailboxes) |
Constructor and Description |
---|
Group(String name,
Collection<Mailbox> mailboxes) |
MailboxList(List<Mailbox> mailboxes) |
MailboxList(List<Mailbox> mailboxes,
boolean dontCopy) |
Modifier and Type | Method and Description |
---|---|
Mailbox |
MailboxField.getMailbox() |
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(String fieldName,
Mailbox mailbox)
Creates a mailbox field from the specified field name and mailbox
address.
|
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(Iterable<Mailbox> mailboxes)
Creates a From field for the specified mailbox addresses.
|
static MailboxListField |
Fields.mailboxList(String fieldName,
Iterable<Mailbox> mailboxes)
Creates a mailbox-list field from the specified field name and mailbox
addresses.
|
Modifier and Type | Method and Description |
---|---|
Mailbox |
LenientAddressParser.parseMailbox(ByteSequence buf,
ParserCursor cursor,
BitSet delimiters) |
Mailbox |
AddressParser.parseMailbox(CharSequence text)
Parses the specified raw string into a mailbox address.
|
Mailbox |
LenientAddressParser.parseMailbox(CharSequence text) |
Mailbox |
DefaultAddressParser.parseMailbox(CharSequence text) |
Mailbox |
DefaultAddressParser.parseMailbox(CharSequence text,
DecodeMonitor monitor)
Parses the specified raw string into a mailbox address.
|
Modifier and Type | Method and Description |
---|---|
String |
AddressFormatter.encode(Mailbox mailbox) |
void |
AddressFormatter.encode(StringBuilder sb,
Mailbox mailbox) |
String |
AddressFormatter.format(Mailbox mailbox,
boolean includeRoute) |
void |
AddressFormatter.format(StringBuilder sb,
Mailbox mailbox,
boolean includeRoute) |
Modifier and Type | Method and Description |
---|---|
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(Collection<Mailbox> from)
Deprecated.
|
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.