net.fortuna.ical4j.model
public class IndexedComponentList extends java.lang.Object
| Constructor and Description |
|---|
IndexedComponentList(ComponentList list,
java.lang.String propertyName)
Creates a new instance indexed on properties with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getComponent(java.lang.String propertyValue)
Returns the first component containing a property with the specified
value.
|
ComponentList |
getComponents(java.lang.String propertyValue)
Returns a list of components containing a property with the
specified value.
|
public IndexedComponentList(ComponentList list, java.lang.String propertyName)
list - a list of componentspropertyName - the name of the properties to index onpublic ComponentList getComponents(java.lang.String propertyValue)
propertyValue - the value of the property contained in the
returned componentspublic Component getComponent(java.lang.String propertyValue)
propertyValue - the value of the property identified in the returned
componentCopyright © 2004-2014 Micronode. All Rights Reserved.