|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
net.fortuna.ical4j.model.PropertyList
public class PropertyList
Defines a list of iCalendar properties.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.util.ArrayList |
|---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public PropertyList()
public PropertyList(int initialCapacity)
initialCapacity - the initial capacity of the list
public PropertyList(PropertyList properties)
throws java.text.ParseException,
java.io.IOException,
java.net.URISyntaxException
properties -
java.text.ParseException
java.io.IOException
java.net.URISyntaxException| Method Detail |
|---|
public 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 return
public final PropertyList getProperties(java.lang.String name)
name - name of properties to return
public final boolean add(Property property)
property - the property to add
List.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 remove
List.remove(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||