java.io
Class StreamTokenizer

java.lang.Object
  |
  +--java.io.StreamTokenizer

public synchronized class StreamTokenizer
extends Object


Field Summary
 double nval
           
 String sval
           
static int TT_EOF
           
static int TT_EOL
           
static int TT_NUMBER
           
static int TT_WORD
           
 int ttype
           
 
Constructor Summary
StreamTokenizer(InputStream)
           
StreamTokenizer(Reader)
           
 
Method Summary
 void commentChar(int)
           
 void eolIsSignificant(boolean)
           
 int lineno()
           
 void lowerCaseMode(boolean)
           
 int nextToken()
           
 void ordinaryChar(int)
           
 void ordinaryChars(int, int)
           
 void parseNumbers()
           
 void pushBack()
           
 void quoteChar(int)
           
 void resetSyntax()
           
 void slashSlashComments(boolean)
           
 void slashStarComments(boolean)
           
 String toString()
          Returns the empty string.
 void whitespaceChars(int, int)
           
 void wordChars(int, int)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait
 

Field Detail

ttype

public int ttype

TT_EOF

public static final int TT_EOF
See Also:
Constant Field Values

TT_EOL

public static final int TT_EOL
See Also:
Constant Field Values

TT_NUMBER

public static final int TT_NUMBER
See Also:
Constant Field Values

TT_WORD

public static final int TT_WORD
See Also:
Constant Field Values

sval

public String sval

nval

public double nval
Constructor Detail

StreamTokenizer

public StreamTokenizer(InputStream)

StreamTokenizer

public StreamTokenizer(Reader)
Method Detail

resetSyntax

public void resetSyntax()

wordChars

public void wordChars(int,
                      int)

whitespaceChars

public void whitespaceChars(int,
                            int)

ordinaryChars

public void ordinaryChars(int,
                          int)

ordinaryChar

public void ordinaryChar(int)

commentChar

public void commentChar(int)

quoteChar

public void quoteChar(int)

parseNumbers

public void parseNumbers()

eolIsSignificant

public void eolIsSignificant(boolean)

slashStarComments

public void slashStarComments(boolean)

slashSlashComments

public void slashSlashComments(boolean)

lowerCaseMode

public void lowerCaseMode(boolean)

nextToken

public int nextToken()
              throws IOException
IOException

pushBack

public void pushBack()

lineno

public int lineno()

toString

public String toString()
Description copied from class: Object
Returns the empty string. It's here to satisfy javac.

Overrides:
toString in class Object