public class StreamTokenizer extends Object
| Modifier and Type | Field and Description | 
|---|---|
| double | nvalnval | 
| String | svalsval | 
| static int | TT_EOFTT_EOF | 
| static int | TT_EOLTT_EOL | 
| static int | TT_NUMBERTT_NUMBER | 
| static int | TT_WORDTT_WORD | 
| int | ttypettype | 
| Constructor and Description | 
|---|
| StreamTokenizer(InputStream inputstream) | 
| StreamTokenizer(Reader reader) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | commentChar(int i) | 
| void | eolIsSignificant(boolean flag) | 
| int | lineno() | 
| void | lowerCaseMode(boolean flag) | 
| int | nextToken() | 
| void | ordinaryChar(int i) | 
| void | ordinaryChars(int i,
             int j) | 
| void | parseNumbers()parseNumbers | 
| void | pushBack()pushBack | 
| void | quoteChar(int i) | 
| void | resetSyntax()resetSyntax | 
| void | slashSlashComments(boolean flag) | 
| void | slashStarComments(boolean flag) | 
| String | toString()Returns a string representation of the object. | 
| void | whitespaceChars(int i,
               int j) | 
| void | wordChars(int i,
         int j) | 
public int ttype
public static final int TT_EOF
public static final int TT_EOL
public static final int TT_WORD
public static final int TT_NUMBER
public String sval
public double nval
public StreamTokenizer(InputStream inputstream)
inputstream - ?public StreamTokenizer(Reader reader)
reader - ?public void commentChar(int i)
i - ?public void eolIsSignificant(boolean flag)
flag - ?public int lineno()
public void lowerCaseMode(boolean flag)
flag - ?public int nextToken()
              throws IOException
IOException - ?public void ordinaryChar(int i)
i - ?public void ordinaryChars(int i,
                          int j)
i - ?j - ?public void parseNumbers()
public void pushBack()
public void quoteChar(int i)
i - ?public void resetSyntax()
public void slashSlashComments(boolean flag)
flag - ?public void slashStarComments(boolean flag)
flag - ?public String toString()
ObjecttoString method returns a string that
 "textually represents" this object. The result should
 be a concise but informative representation that is easy for a
 person to read.
 It is recommended that all subclasses override this method.
 
 The toString method for class Object
 returns a string consisting of the name of the class of which the
 object is an instance, the at-sign character `@', and
 the unsigned hexadecimal representation of the hash code of the
 object.
public void whitespaceChars(int i,
                            int j)
i - ?j - ?public void wordChars(int i,
                      int j)
i - ?j - ?