Serializable
public class AddressList extends Object implements Serializable
Constructor | Description |
---|---|
AddressList() |
Default constructor.
|
AddressList(String aValue) |
Parses the specified string representation to create a list of addresses.
|
AddressList(List<URI> addresses) |
Modifier and Type | Method | Description |
---|---|---|
AddressList |
add(URI address) |
Add an address to the list.
|
List<URI> |
getAddresses() |
|
AddressList |
remove(URI address) |
Remove an address from the list.
|
String |
toString() |
|
static String |
toString(List<URI> addresses) |
public AddressList()
public AddressList(String aValue) throws URISyntaxException
aValue
- a string representation of a list of addressesURISyntaxException
- where the specified string is not a valid representationpublic final AddressList add(URI address)
address
- the address to addList.add(java.lang.Object)
public final AddressList remove(URI address)
address
- the address to removeList.remove(java.lang.Object)