public class StreamTokenizerUtils extends java.lang.Object implements java.io.Serializable, RevisionHandler
| Constructor and Description |
|---|
StreamTokenizerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
errms(java.io.StreamTokenizer tokenizer,
java.lang.String theMsg)
Throws error message with line number and last token read.
|
static void |
getFirstToken(java.io.StreamTokenizer tokenizer)
Gets token, skipping empty lines.
|
java.lang.String |
getRevision()
Returns the revision string.
|
static void |
getToken(java.io.StreamTokenizer tokenizer)
Gets token.
|
public java.lang.String getRevision()
RevisionHandlergetRevision in interface RevisionHandlerpublic static void getFirstToken(java.io.StreamTokenizer tokenizer)
throws java.io.IOException
tokenizer - the stream tokenizerjava.io.IOException - if reading the next token failspublic static void getToken(java.io.StreamTokenizer tokenizer)
throws java.io.IOException
tokenizer - the stream tokenizerjava.io.IOException - if reading the next token failspublic static void errms(java.io.StreamTokenizer tokenizer,
java.lang.String theMsg)
throws java.io.IOException
theMsg - the error message to be throwntokenizer - the stream tokenizerjava.io.IOException - containing the error message