public class ERXCommandLineTokenizer extends Object implements Enumeration
| Constructor and Description |
|---|
ERXCommandLineTokenizer(String line)
Creates a new ERXCommandLineTokenizer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
Returns true if there are more tokens on the line.
|
boolean |
hasMoreTokens()
Returns true if there are more tokens on the line.
|
String |
nextElement()
Returns the next token, or null if there is a parse error.
|
String |
nextToken()
Returns the next token.
|
protected void |
reset() |
public ERXCommandLineTokenizer(String line)
line - the line to parseprotected void reset()
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic boolean hasMoreTokens()
public String nextElement()
nextElement in interface Enumerationpublic String nextToken() throws ParseException
ParseException - if there is a parse failureNoSuchElementException - if there are no more tokens to parseCopyright © 2002 – 2020 Project Wonder.