oracle.dacf.util
Class ItemNameTokenizer
java.lang.Object
|
+--oracle.dacf.util.ItemNameTokenizer
- public class ItemNameTokenizer
- extends java.lang.Object
A utility class, used to tokenize dataItem names.
- Version:
- INTERNAL
Method Summary |
int |
countRemaining()
Counts the number of remaining item names that can be retrieved
by calling next() |
boolean |
hasMore()
Checks if there are more items to be returned |
java.lang.String |
next()
|
java.lang.String |
peek()
Gets the next item name without changing the current position. |
java.lang.String |
peekAll()
Returns the remaining item name without changing the current
position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITER
public static final char DELIMITER
ItemNameTokenizer
public ItemNameTokenizer(java.lang.String str)
- constructor
- Parameters:
str
- the Name you want to tokenize
peekAll
public java.lang.String peekAll()
- Returns the remaining item name without changing the current
position
- Returns:
- item name
peek
public java.lang.String peek()
- Gets the next item name without changing the current position.
countRemaining
public int countRemaining()
- Counts the number of remaining item names that can be retrieved
by calling next()
hasMore
public boolean hasMore()
- Checks if there are more items to be returned
next
public java.lang.String next()