public class PropertyList
extends java.util.ArrayList
implements java.io.Serializable
| Constructor and Description |
|---|
PropertyList()
Default constructor.
|
PropertyList(int initialCapacity)
Creates a new instance with the specified initial capacity.
|
PropertyList(PropertyList properties)
Creates a deep copy of the specified property list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.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(java.lang.String name)
Returns a list of properties with the specified name.
|
Property |
getProperty(java.lang.String aName)
Returns the first property of specified name.
|
boolean |
remove(Property property)
Remove a property from the list.
|
java.lang.String |
toString() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic PropertyList()
public PropertyList(int initialCapacity)
initialCapacity - the initial capacity of the listpublic PropertyList(PropertyList properties) throws java.text.ParseException, java.io.IOException, java.net.URISyntaxException
properties - java.text.ParseExceptionjava.io.IOExceptionjava.net.URISyntaxExceptionpublic final java.lang.String toString()
toString in class java.util.AbstractCollectionAbstractCollection.toString()public final Property getProperty(java.lang.String aName)
aName - name of property to returnpublic final PropertyList getProperties(java.lang.String name)
name - name of properties to returnpublic final boolean add(Property property)
property - the property to addList.add(java.lang.Object)public final boolean add(java.lang.Object arg0)
IllegalArgumentException where argument is not a
net.fortuna.ical4j.model.Property.add in interface java.util.Collectionadd in interface java.util.Listadd in class java.util.ArrayListjava.util.List#add(E)public final boolean remove(Property property)
property - the property to removeList.remove(java.lang.Object)