|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Categorized
This interface represents a collection of items organized according to categories. These categories are not necessarily hierarchical. Created on January 17, 2004
| Method Summary | |
|---|---|
java.util.Iterator<java.lang.String> |
getCategoryNames()
Get the names of all the categories. |
java.lang.Object |
getItem(java.lang.String categoryName,
java.lang.String itemName)
Get the indicated item from the correct catagory. |
java.util.Iterator<java.lang.String> |
getItemNames(java.lang.String categoryName)
Get the names of all the items in one of the categories. |
| Method Detail |
|---|
java.util.Iterator<java.lang.String> getCategoryNames()
Enumeration of String names.
This value will not be null, but it may be empty.java.util.Iterator<java.lang.String> getItemNames(java.lang.String categoryName)
categoryName - - the String name of the category
whose item names are required.
Enumeration of String names.
This value will not be null, but it may be empty.
java.lang.Object getItem(java.lang.String categoryName,
java.lang.String itemName)
throws java.lang.Exception
categoryName - - the String name of the category
whose item names are required.itemName - - the String name of the indicated item.
Object in the correct category with the given
name. This value may be null.
- Throws:
Exception - if there's any error getting the item.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||