net.fortuna.ical4j.model
Class ResourceList
java.lang.Object
net.fortuna.ical4j.model.ResourceList
- Serializable
public class ResourceList
extends java.lang.Object
implements Serializable
$Id: ResourceList.java,v 1.10 2008/12/16 12:34:53 fortuna Exp $ [23-Apr-2004]
Defines a list of iCalendar resouces.
ResourceList() - Default constructor.
|
ResourceList(String aValue) - Parses the specified string representation to create
a list of resources.
|
boolean | add(String resource) - Add a resource to the list.
|
boolean | isEmpty()
|
Iterator | iterator()
|
boolean | remove(String resource) - Remove a resource from the list.
|
int | size()
|
String | toString()
|
ResourceList
public ResourceList()
Default constructor.
ResourceList
public ResourceList(String aValue)
Parses the specified string representation to create
a list of resources.
aValue
- a string representation of a list of
resources
add
public final boolean add(String resource)
Add a resource to the list.
resource
- the resource to add
List.add(java.lang.Object)
isEmpty
public final boolean isEmpty()
- boolean indicates if the list is empty
iterator
public final Iterator iterator()
remove
public final boolean remove(String resource)
Remove a resource from the list.
resource
- the resource to remove
- true if the list contained the specified resource
List.remove(java.lang.Object)
size
public final int size()
- the number of resources in the list
toString
public final String toString()
java.util.AbstractCollection.toString()