|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.IndexedComponentList
Provides indexing of components on property names.
Constructor Summary | |
IndexedComponentList(ComponentList list)
Creates a new instance indexed on all properties. |
|
IndexedComponentList(ComponentList list,
String indexProperty)
Creates a new instance indexed on the specified property name. |
Method Summary | |
Component |
getComponent(String propertyName)
Returns the first component containing a property with the specified name |
ComponentList |
getComponents(String propertyName)
Returns a list of components containing a property with the specified name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IndexedComponentList(ComponentList list, String indexProperty)
list
- indexProperty
- public IndexedComponentList(ComponentList list)
list
- Method Detail |
public ComponentList getComponents(String propertyName)
propertyName
- the name of the property contained in the
returned components
public Component getComponent(String propertyName)
propertyName
- the name of the property identified in the returned
component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |