net.fortuna.ical4j.model
Class PropertyList
ArrayList
net.fortuna.ical4j.model.PropertyList
- Serializable
public class PropertyList
extends ArrayList
implements Serializable
$Id: PropertyList.java,v 1.13 2008/12/16 12:34:53 fortuna Exp $ [Apr 5, 2004]
Defines a list of iCalendar properties.
PropertyList() - Default constructor.
|
PropertyList(PropertyList properties) - Creates a deep copy of the specified property list.
|
PropertyList(int initialCapacity) - Creates a new instance with the specified initial capacity.
|
boolean | add(Object arg0) - Overrides superclass to throw an
IllegalArgumentException where argument is not a
net.fortuna.ical4j.model.Property .
|
boolean | add(Property property) - Add a property to the list.
|
PropertyList | getProperties(String name) - Returns a list of properties with the specified name.
|
Property | getProperty(String aName) - Returns the first property of specified name.
|
boolean | remove(Property property) - Remove a property from the list.
|
String | toString()
|
PropertyList
public PropertyList()
Default constructor.
PropertyList
public PropertyList(PropertyList properties)
throws ParseException,
IOException,
URISyntaxException
Creates a deep copy of the specified property list.
PropertyList
public PropertyList(int initialCapacity)
Creates a new instance with the specified initial capacity.
initialCapacity
- the initial capacity of the list
add
public final boolean add(Object arg0)
Overrides superclass to throw an IllegalArgumentException
where argument is not a
net.fortuna.ical4j.model.Property
.
add
public final boolean add(Property property)
Add a property to the list.
property
- the property to add
java.util.List.add(java.lang.Object)
getProperties
public final PropertyList getProperties(String name)
Returns a list of properties with the specified name.
name
- name of properties to return
getProperty
public final Property getProperty(String aName)
Returns the first property of specified name.
aName
- name of property to return
- a property or null if no matching property found
remove
public final boolean remove(Property property)
Remove a property from the list.
property
- the property to remove
- true if the list contained the specified property
java.util.List.remove(java.lang.Object)
toString
public final String toString()
java.util.AbstractCollection.toString()