net.fortuna.ical4j.model
Class AddressList
java.lang.Object
net.fortuna.ical4j.model.AddressList
- Serializable
public class AddressList
extends java.lang.Object
implements Serializable
$Id: AddressList.java,v 1.13 2008/12/16 12:34:53 fortuna Exp $ [23-Apr-2004]
Defines a list of iCalendar addresses.
AddressList() - Default constructor.
|
AddressList(String aValue) - Parses the specified string representation to create a list of addresses.
|
AddressList
public AddressList()
Default constructor.
AddressList
public AddressList(String aValue)
throws URISyntaxException
Parses the specified string representation to create a list of addresses.
aValue
- a string representation of a list of addresses
add
public final boolean add(URI address)
Add an address to the list.
address
- the address to add
List.add(java.lang.Object)
isEmpty
public final boolean isEmpty()
- boolean indicates if the list is empty
iterator
public final Iterator iterator()
remove
public final boolean remove(URI address)
Remove an address from the list.
address
- the address to remove
- true if the list contained the specified address
List.remove(java.lang.Object)
size
public final int size()
- the number of addresses in the list
toString
public final String toString()
java.util.AbstractCollection.toString()