net.fortuna.ical4j.model
Class IndexedPropertyList
java.lang.Object
net.fortuna.ical4j.model.IndexedPropertyList
public class IndexedPropertyList
extends java.lang.Object
$Id: IndexedPropertyList.java,v 1.5 2008/12/16 12:34:52 fortuna Exp $
Created on 4/02/2006
Provides indexing of properties on a specific parameter.
IndexedPropertyList(PropertyList list, String parameterName) - Creates a new instance indexed on the parameters with the specified name.
|
PropertyList | getProperties(String paramValue) - Returns a list of properties containing a parameter with the
specified value.
|
Property | getProperty(String paramValue) - Returns the first property containing a parameter with the specified
value.
|
IndexedPropertyList
public IndexedPropertyList(PropertyList list,
String parameterName)
Creates a new instance indexed on the parameters with the specified name.
list
- a list of propertiesparameterName
- the name of parameters on which to index
getProperties
public PropertyList getProperties(String paramValue)
Returns a list of properties containing a parameter with the
specified value.
paramValue
- the value of the parameter contained in the
returned properties
getProperty
public Property getProperty(String paramValue)
Returns the first property containing a parameter with the specified
value.
paramValue
- the value of the parameter identified in the returned
property
- a property or null if no property is found containing a parameter
with the specified value