Package | Description |
---|---|
org.apache.james.mime4j.dom | |
org.apache.james.mime4j.dom.address | |
org.apache.james.mime4j.field | |
org.apache.james.mime4j.field.address | |
org.apache.james.mime4j.message |
Modifier and Type | Method and Description |
---|---|
void |
Message.setBcc(Address... bcc)
Sets the Bcc header field of this message to the specified
addresses.
|
void |
Message.setBcc(Address bcc)
Sets the Bcc header field of this message to the specified
address.
|
void |
Message.setCc(Address... cc)
Sets the Cc header field of this message to the specified
addresses.
|
void |
Message.setCc(Address cc)
Sets the Cc header field of this message to the specified
address.
|
void |
Message.setReplyTo(Address... replyTo)
Sets the Reply-To header field of this message to the specified
addresses.
|
void |
Message.setReplyTo(Address replyTo)
Sets the Reply-To header field of this message to the specified
address.
|
void |
Message.setTo(Address... to)
Sets the To header field of this message to the specified
addresses.
|
void |
Message.setTo(Address to)
Sets the To header field of this message to the specified
address.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.setBcc(Collection<? extends Address> bcc)
Sets the Bcc header field of this message to the specified
addresses.
|
void |
Message.setCc(Collection<? extends Address> cc)
Sets the Cc header field of this message to the specified
addresses.
|
void |
Message.setReplyTo(Collection<? extends Address> replyTo)
Sets the Reply-To header field of this message to the specified
addresses.
|
void |
Message.setTo(Collection<? extends Address> to)
Sets the To header field of this message to the specified
addresses.
|
Modifier and Type | Class and Description |
---|---|
class |
Group
A named group of zero or more mailboxes.
|
class |
Mailbox
Represents a single e-mail address.
|
Modifier and Type | Method and Description |
---|---|
Address |
AddressList.get(int index)
Gets an address.
|
Constructor and Description |
---|
AddressList(List<? extends Address> addresses,
boolean dontCopy) |
Modifier and Type | Method and Description |
---|---|
static AddressListField |
Fields.bcc(Address... addresses)
Creates a Bcc field for the specified mailbox or group addresses.
|
static AddressListField |
Fields.bcc(Address address)
Creates a Bcc field for the specified mailbox or group address.
|
static AddressListField |
Fields.cc(Address... addresses)
Creates a Cc field for the specified mailbox or group addresses.
|
static AddressListField |
Fields.cc(Address address)
Creates a Cc field for the specified mailbox or group address.
|
static AddressListField |
Fields.replyTo(Address... addresses)
Creates a Reply-To field for the specified mailbox or group
addresses.
|
static AddressListField |
Fields.replyTo(Address address)
Creates a Reply-To field for the specified mailbox or group
address.
|
static AddressListField |
Fields.to(Address... addresses)
Creates a To field for the specified mailbox or group addresses.
|
static AddressListField |
Fields.to(Address address)
Creates a To field for the specified mailbox or group address.
|
Modifier and Type | Method and Description |
---|---|
static AddressListField |
Fields.addressList(String fieldName,
Iterable<? extends Address> addresses)
Creates an address-list field from the specified field name and mailbox
or group addresses.
|
static AddressListField |
Fields.bcc(Iterable<Address> addresses)
Creates a Bcc field for the specified mailbox or group addresses.
|
static AddressListField |
Fields.cc(Iterable<Address> addresses)
Creates a Cc field for the specified mailbox or group addresses.
|
static AddressListField |
Fields.replyTo(Iterable<Address> addresses)
Creates a Reply-To field for the specified mailbox or group
addresses.
|
static AddressListField |
Fields.to(Iterable<Address> addresses)
Creates a To field for the specified mailbox or group addresses.
|
Modifier and Type | Method and Description |
---|---|
Address |
LenientAddressBuilder.parseAddress(ByteSequence buf,
ParserCursor cursor,
BitSet delimiters) |
Address |
LenientAddressBuilder.parseAddress(String text) |
Address |
AddressBuilder.parseAddress(String rawAddressString) |
Address |
AddressBuilder.parseAddress(String rawAddressString,
DecodeMonitor monitor)
Parses the specified raw string into an address.
|
Modifier and Type | Method and Description |
---|---|
void |
AddressFormatter.encode(StringBuilder sb,
Address address)
Returns a string representation of this address that can be used for
transport purposes.
|
void |
AddressFormatter.format(StringBuilder sb,
Address address,
boolean includeRoute)
Formats the address as a human readable string, not including the route.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessage.setBcc(Address... bcc)
Sets the Bcc header field of this message to the specified
addresses.
|
void |
AbstractMessage.setBcc(Address bcc)
Sets the Bcc header field of this message to the specified
address.
|
void |
AbstractMessage.setCc(Address... cc)
Sets the Cc header field of this message to the specified
addresses.
|
void |
AbstractMessage.setCc(Address cc)
Sets the Cc header field of this message to the specified
address.
|
void |
AbstractMessage.setReplyTo(Address... replyTo)
Sets the Reply-To header field of this message to the specified
addresses.
|
void |
AbstractMessage.setReplyTo(Address replyTo)
Sets the Reply-To header field of this message to the specified
address.
|
void |
AbstractMessage.setTo(Address... to)
Sets the To header field of this message to the specified
addresses.
|
void |
AbstractMessage.setTo(Address to)
Sets the To header field of this message to the specified
address.
|
Modifier and Type | Method and Description |
---|---|
protected AddressListField |
MessageImpl.newAddressList(String fieldName,
Collection<? extends Address> addresses) |
protected abstract AddressListField |
AbstractMessage.newAddressList(String fieldName,
Collection<? extends Address> addresses) |
void |
AbstractMessage.setBcc(Collection<? extends Address> bcc)
Sets the Bcc header field of this message to the specified
addresses.
|
void |
AbstractMessage.setCc(Collection<? extends Address> cc)
Sets the Cc header field of this message to the specified
addresses.
|
void |
AbstractMessage.setReplyTo(Collection<? extends Address> replyTo)
Sets the Reply-To header field of this message to the specified
addresses.
|
void |
AbstractMessage.setTo(Collection<? extends Address> to)
Sets the To header field of this message to the specified
addresses.
|
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.