Package net.fortuna.ical4j.model
Class TextList
java.lang.Object
net.fortuna.ical4j.model.TextList
- All Implemented Interfaces:
Serializable,Iterable<String>
$Id$ [23-Apr-2004]
Defines a list of iCalendar text elements.
- See Also:
-
Constructor Details
-
TextList
public TextList()Default constructor. -
TextList
Parses the specified string representation to create a list of categories.- Parameters:
aValue- a string representation of a list of categories
-
TextList
- Parameters:
textValues- an array of text values
-
-
Method Details
-
toString
-
add
Add an address to the list.- Parameters:
text- the category to add- Returns:
- true
- See Also:
-
isEmpty
public final boolean isEmpty()- Returns:
- boolean indicates if the list is empty
- See Also:
-
iterator
-
remove
Remove a text from the list.- Parameters:
text- the text element to remove- Returns:
- true if the list contained the specified text element
- See Also:
-
size
public final int size()- Returns:
- the number of text elements in the list
- See Also:
-