Package com.inductiveautomation.rm.base
Class RMStringTokenizer
java.lang.Object
com.inductiveautomation.rm.base.RMStringTokenizer
A string tokenizer that can provide token location.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the next token.int
Returns the next token start.Returns the next string.Returns the string being processed.getToken()
Returns the current token.int
Returns the current token end.int
Returns the current token start.Returns the current string.boolean
Returns whether tokenizer has more tokens.protected void
Loads the next token.
-
Constructor Details
-
RMStringTokenizer
Creates a new string tokenizer.
-
-
Method Details
-
getString
Returns the string being processed. -
getTokenStart
public int getTokenStart()Returns the current token start. -
getTokenEnd
public int getTokenEnd()Returns the current token end. -
getTokenString
Returns the current string. -
getNextTokenString
Returns the next string. -
getToken
Returns the current token. -
getNextToken
Returns the next token. -
hasMoreTokens
public boolean hasMoreTokens()Returns whether tokenizer has more tokens. -
getNextTokenStart
public int getNextTokenStart()Returns the next token start. -
loadNextToken
protected void loadNextToken()Loads the next token.
-