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