inua.util
Class Scanner
java.lang.Object
inua.util.Scanner
public class Scanner
- extends Object
A very simplistic tokenizer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public boolean debug
file
private DataInputStream file
lineNumber
private int lineNumber
lookAhead
private char lookAhead
Scanner
public Scanner(String fileName)
throws IOException
- Throws:
IOException
Scanner
public Scanner(File f)
throws IOException
- Throws:
IOException
readAhead
private void readAhead()
throws IOException
- Throws:
IOException
endOfFile
public boolean endOfFile()
getLineNumber
public int getLineNumber()
skipByte
public void skipByte(char c)
throws IOException
- Throws:
IOException
skipWhitespace
public void skipWhitespace()
throws IOException
- Throws:
IOException
readByte
public char readByte()
throws IOException
- Throws:
IOException
readHexLong
public long readHexLong()
throws IOException
- Throws:
IOException
readHexByte
public byte readHexByte()
throws IOException
- Throws:
IOException
readDecimalLong
public long readDecimalLong()
throws IOException
- Throws:
IOException
readLine
public String readLine()
throws IOException
- Throws:
IOException