net.fortuna.ical4j.model
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 property)
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, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, 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 - a property listjava.text.ParseException - where property data cannot be parsedjava.io.IOException - where property data cannot be readjava.net.URISyntaxException - where a property contains an invalid URIpublic final java.lang.String toString()
toString in class java.util.AbstractCollectionpublic 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 property)
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.ArrayListproperty - a property to addList.add(Object)public final boolean remove(Property property)
property - the property to removeList.remove(java.lang.Object)Copyright © 2004-2014 Micronode. All Rights Reserved.