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. |
Modifier and Type | Method and Description |
---|---|
void |
Message.setFrom(Mailbox... from)
Sets the From header field of this message to the specified
mailbox addresses.
|
void |
Message.setFrom(Mailbox from)
Sets the From header field of this message to the specified
mailbox address.
|
void |
Message.setSender(Mailbox sender)
Sets the Sender header field of this message to the specified
mailbox address.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.setFrom(Collection<Mailbox> from)
Sets the 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 |
Mailbox.doAddMailboxesTo(List<Mailbox> results) |
protected void |
Group.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) |
Constructor and Description |
---|
Group(String name,
Collection<Mailbox> mailboxes) |
MailboxList(List<Mailbox> mailboxes,
boolean dontCopy) |
Modifier and Type | Method and Description |
---|---|
Mailbox |
MailboxField.getMailbox() |
Modifier and Type | Method and Description |
---|---|
Mailbox |
MailboxFieldLenientImpl.getMailbox() |
Mailbox |
MailboxFieldImpl.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 |
LenientAddressBuilder.parseMailbox(ByteSequence buf,
ParserCursor cursor,
BitSet delimiters) |
Mailbox |
LenientAddressBuilder.parseMailbox(String text) |
Mailbox |
AddressBuilder.parseMailbox(String rawMailboxString) |
Mailbox |
AddressBuilder.parseMailbox(String rawMailboxString,
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 |
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 |
---|---|
protected MailboxField |
MessageImpl.newMailbox(String fieldName,
Mailbox mailbox) |
protected abstract MailboxField |
AbstractMessage.newMailbox(String fieldName,
Mailbox mailbox) |
void |
AbstractMessage.setFrom(Mailbox... from)
Sets the From header field of this message to the specified
mailbox addresses.
|
void |
AbstractMessage.setFrom(Mailbox from)
Sets the From header field of this message to the specified
mailbox address.
|
void |
AbstractMessage.setSender(Mailbox sender)
Sets the Sender header field of this message to the specified
mailbox address.
|
Modifier and Type | Method and Description |
---|---|
protected MailboxListField |
MessageImpl.newMailboxList(String fieldName,
Collection<Mailbox> mailboxes) |
protected abstract MailboxListField |
AbstractMessage.newMailboxList(String fieldName,
Collection<Mailbox> mailboxes) |
void |
AbstractMessage.setFrom(Collection<Mailbox> from)
Sets the From header field of this message to the specified
mailbox addresses.
|
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.