|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--com.compoze.ebusiness.Categories
This class implements a collection of categories.
Category
, Serialized FormConstructor Summary | |
protected |
Categories(java.lang.String sCategoryString)
Constructor. |
protected |
Categories(java.lang.String sCategoryString,
java.lang.String delim)
Constructor. |
Method Summary | |
boolean |
add(java.lang.Object o)
Adds the specified element to the collection. |
void |
clear()
Removes all of the elements from this collection. |
java.util.Iterator |
iterator()
Returns an iterator over the elements contained in this collection. |
int |
size()
Returns the number of elements in this collection. |
java.lang.String |
toCategoryString()
Returns a category string representation of the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
equals, hashCode |
Constructor Detail |
protected Categories(java.lang.String sCategoryString)
sCategories
- the string of categories to parseprotected Categories(java.lang.String sCategoryString, java.lang.String delim)
sCategories
- the string of categories to parsedelim
- the category delimMethod Detail |
public boolean add(java.lang.Object o)
true
if the collection changed
as a result of the call. Returns false
if this collection does not permit duplicates
and already contains the specified element.)add
in class java.util.AbstractCollection
o
- the element to addpublic void clear()
clear
in class java.util.AbstractCollection
public java.util.Iterator iterator()
iterator
in class java.util.AbstractCollection
public int size()
size
in class java.util.AbstractCollection
public java.lang.String toString()
toString
in class java.util.AbstractCollection
public java.lang.String toString(java.util.Locale locale)
locale
- the localepublic java.lang.String toCategoryString()
ebusiness_resources.properties
.
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |