public class ERXCommandLineTokenizer
extends java.lang.Object
implements java.util.Enumeration
| Constructor and Description |
|---|
ERXCommandLineTokenizer(java.lang.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.
|
java.lang.String |
nextElement()
Returns the next token, or null if there is a parse error.
|
java.lang.String |
nextToken()
Returns the next token.
|
protected void |
reset() |
public ERXCommandLineTokenizer(java.lang.String line)
line - the line to parseprotected void reset()
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic boolean hasMoreTokens()
public java.lang.String nextElement()
nextElement in interface java.util.Enumerationpublic java.lang.String nextToken()
throws java.text.ParseException
ParseException - if there is a parse failurejava.util.NoSuchElementException - if there are no more tokens to parseCopyright © 2002 – 2022 Project Wonder.