Class marimba.io.ScannerInputStream
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.io.ScannerInputStream
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----marimba.io.FastInputStream
|
+----marimba.io.ScannerInputStream
- public class ScannerInputStream
- extends FastInputStream
A scanner input stream. This is an efficient stream tokenizer for
integers, identifiers, strings, and special characters.
- Version:
- 1.8, 06/10/96
- Author:
- Arthur van Hoff
-
EOF
-
-
IDENTIFIER
-
-
INTEGER
-
-
intValue
-
-
ln
-
-
STRING
-
-
strValue
-
-
tok
-
-
ScannerInputStream(File)
-
-
ScannerInputStream(InputStream)
-
-
ScannerInputStream(String)
-
-
error(String)
-
-
expect(int)
-
-
main(String[])
-
-
next(int)
-
-
scan()
-
-
scanHexByte()
-
EOF
public final static int EOF
INTEGER
public final static int INTEGER
IDENTIFIER
public final static int IDENTIFIER
STRING
public final static int STRING
tok
public int tok
ln
public int ln
intValue
public long intValue
strValue
public String strValue
ScannerInputStream
public ScannerInputStream(String file) throws IOException
ScannerInputStream
public ScannerInputStream(File file) throws IOException
ScannerInputStream
public ScannerInputStream(InputStream in)
scan
public int scan()
scanHexByte
public int scanHexByte() throws SyntaxError
error
public void error(String str) throws SyntaxError
expect
public void expect(int expected) throws SyntaxError
next
public boolean next(int expected)
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index