cryptix.asn1.lang
Class ASCII_CharStream
public final
class
ASCII_CharStream
extends Object
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
| Constructor Summary |
| | ASCII_CharStream(Reader dstream, int startline, int startcolumn, int buffersize) |
| | ASCII_CharStream(Reader dstream, int startline, int startcolumn) |
| | ASCII_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize) |
| | ASCII_CharStream(InputStream dstream, int startline, int startcolumn) |
| Method Summary |
| void | adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token.
|
| void | backup(int amount) |
| char | BeginToken() |
| void | Done() |
| int | getBeginColumn() |
| int | getBeginLine() |
| int | getColumn() |
| int | getEndColumn() |
| int | getEndLine() |
| int | getLine() |
| String | GetImage() |
| char[] | GetSuffix(int len) |
| char | readChar() |
| void | ReInit(Reader dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(Reader dstream, int startline, int startcolumn) |
| void | ReInit(InputStream dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(InputStream dstream, int startline, int startcolumn) |
int available
public int bufpos
int bufsize
public static final boolean staticFlag
int tokenBegin
public ASCII_CharStream(Reader dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(Reader dstream, int startline, int startcolumn)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public ASCII_CharStream(InputStream dstream, int startline, int startcolumn)
public void adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token.
public final void backup(int amount)
public final char BeginToken()
public void Done()
public final int getBeginColumn()
public final int getBeginLine()
public final int getColumn()
public final int getEndColumn()
public final int getEndLine()
public final int getLine()
public final String GetImage()
public final char[] GetSuffix(int len)
public final char readChar()
public void ReInit(Reader dstream, int startline, int startcolumn, int buffersize)
public void ReInit(Reader dstream, int startline, int startcolumn)
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream, int startline, int startcolumn)