inua.util
Class Scanner
java.lang.Object
inua.util.Scanner
public class Scanner
- extends Object
A very simplistic tokenizer.
Field Summary |
boolean |
debug
|
debug
public boolean debug
Scanner
public Scanner(String fileName)
throws IOException
- Throws:
IOException
Scanner
public Scanner(File f)
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