net.fortuna.ical4j.model
public class PropertyList extends ArrayList implements Serializable
modCount| 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(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(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() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic PropertyList()
public PropertyList(int initialCapacity)
initialCapacity - the initial capacity of the listpublic PropertyList(PropertyList properties) throws ParseException, IOException, URISyntaxException
properties - a property listParseException - where property data cannot be parsedIOException - where property data cannot be readURISyntaxException - where a property contains an invalid URIpublic final String toString()
toString in class AbstractCollectionpublic final Property getProperty(String aName)
aName - name of property to returnpublic final PropertyList getProperties(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(Object property)
IllegalArgumentException where argument is not a
net.fortuna.ical4j.model.Property.add in interface Collectionadd in interface Listadd in class ArrayListproperty - a property to addList.add(Object)public final boolean remove(Property property)
property - the property to removeList.remove(java.lang.Object)Copyright © 2004-2013 Micronode. All Rights Reserved.