org.apache.commons.jexl.parser
Class SimpleCharStream
public final
class
SimpleCharStream
extends Object
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
Constructor Summary |
| SimpleCharStream(Reader dstream, int startline, int startcolumn, int buffersize) |
| SimpleCharStream(Reader dstream, int startline, int startcolumn) |
| SimpleCharStream(Reader dstream) |
| SimpleCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) |
| SimpleCharStream(InputStream dstream, int startline, int startcolumn) |
| SimpleCharStream(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) |
void | ReInit(InputStream dstream, int startline, int startcolumn) |
public int bufpos
public static final boolean staticFlag
public SimpleCharStream(Reader dstream, int startline, int startcolumn, int buffersize)
public SimpleCharStream(Reader dstream, int startline, int startcolumn)
public SimpleCharStream(Reader dstream)
public SimpleCharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public SimpleCharStream(InputStream dstream, int startline, int startcolumn)
public SimpleCharStream(InputStream dstream)
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(Reader dstream)
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream)
public void ReInit(InputStream dstream, int startline, int startcolumn)