|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mime4j.field.address.AddressBuilder
public class AddressBuilder
Default (strict) builder for Address and its subclasses.
| Field Summary | |
|---|---|
static AddressBuilder |
DEFAULT
|
| Constructor Summary | |
|---|---|
protected |
AddressBuilder()
|
| Method Summary | |
|---|---|
Address |
parseAddress(String rawAddressString)
|
Address |
parseAddress(String rawAddressString,
DecodeMonitor monitor)
Parses the specified raw string into an address. |
AddressList |
parseAddressList(String rawAddressList)
|
AddressList |
parseAddressList(String rawAddressList,
DecodeMonitor monitor)
Parse the address list string, such as the value of a From, To, Cc, Bcc, Sender, or Reply-To header. |
Group |
parseGroup(String rawGroupString)
|
Group |
parseGroup(String rawGroupString,
DecodeMonitor monitor)
Parses the specified raw string into a group address. |
Mailbox |
parseMailbox(String rawMailboxString)
|
Mailbox |
parseMailbox(String rawMailboxString,
DecodeMonitor monitor)
Parses the specified raw string into a mailbox address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AddressBuilder DEFAULT
| Constructor Detail |
|---|
protected AddressBuilder()
| Method Detail |
|---|
public Address parseAddress(String rawAddressString,
DecodeMonitor monitor)
throws ParseException
rawAddressString - string to parse.monitor - the DecodeMonitor to be used while parsing/decoding
Address object for the specified string.
ParseException - if the raw string does not represent a single address.
public Address parseAddress(String rawAddressString)
throws ParseException
ParseException
public AddressList parseAddressList(String rawAddressList,
DecodeMonitor monitor)
throws ParseException
monitor - the DecodeMonitor to be used while parsing/decoding
ParseException
public AddressList parseAddressList(String rawAddressList)
throws ParseException
ParseException
public Mailbox parseMailbox(String rawMailboxString,
DecodeMonitor monitor)
throws ParseException
rawMailboxString - string to parse.monitor - the DecodeMonitor to be used while parsing/decoding.
Mailbox object for the specified string.
ParseException - if the raw string does not represent a single mailbox
address.
public Mailbox parseMailbox(String rawMailboxString)
throws ParseException
ParseException
public Group parseGroup(String rawGroupString,
DecodeMonitor monitor)
throws ParseException
rawGroupString - string to parse.
Group object for the specified string.
ParseException - if the raw string does not represent a single group address.
public Group parseGroup(String rawGroupString)
throws ParseException
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||