Package org.openas2.util
Class CommandTokenizer
- java.lang.Object
-
- org.openas2.util.CommandTokenizer
-
public class CommandTokenizer extends java.lang.Objectemulates StringTokenizer- Author:
- joseph mcverry
-
-
Constructor Summary
Constructors Constructor Description CommandTokenizer(java.lang.String inString)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreTokens()any more tokens in Stringjava.lang.StringnextToken()returns the next token, this handles spaces and quotes
-
-
-
Method Detail
-
hasMoreTokens
public boolean hasMoreTokens() throws WrappedExceptionany more tokens in String- Returns:
- true if there are any more tokens
- Throws:
WrappedException- - internally handled error
-
nextToken
public java.lang.String nextToken() throws WrappedExceptionreturns the next token, this handles spaces and quotes- Returns:
- a string
- Throws:
WrappedException- - internally handled error
-
-