org.pentaho.reporting.libraries.formula.parser
Class JavaCharStream
public
class
JavaCharStream
extends Object
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (with java-like unicode escape processing).
| Constructor Summary |
| | JavaCharStream(Reader dstream, int startline, int startcolumn, int buffersize) |
| | JavaCharStream(Reader dstream, int startline, int startcolumn) |
| | JavaCharStream(Reader dstream) |
| | JavaCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) |
| | JavaCharStream(InputStream dstream, int startline, int startcolumn) |
| | JavaCharStream(InputStream dstream) |
| 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(Reader dstream) |
| void | ReInit(InputStream dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(InputStream dstream, int startline, int startcolumn) |
| void | ReInit(InputStream dstream) |
public int bufpos
public static final boolean staticFlag
public JavaCharStream(Reader dstream, int startline, int startcolumn, int buffersize)
public JavaCharStream(Reader dstream, int startline, int startcolumn)
public JavaCharStream(Reader dstream)
public JavaCharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public JavaCharStream(InputStream dstream, int startline, int startcolumn)
public JavaCharStream(InputStream dstream)
public void adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token.
public void backup(int amount)
public char BeginToken()
public void Done()
public int getBeginColumn()
public int getBeginLine()
public int getColumn()
public int getEndColumn()
public int getEndLine()
public int getLine()
public String GetImage()
public char[] GetSuffix(int len)
public 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(Reader dstream)
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream, int startline, int startcolumn)
public void ReInit(InputStream dstream)