bsh
public class JavaCharStream extends Object
Field Summary | |
---|---|
protected int[] | bufcolumn |
protected char[] | buffer |
protected int[] | bufline |
int | bufpos |
protected int | column |
protected int | inBuf |
protected Reader | inputStream |
protected int | line |
protected int | maxNextCharInd |
protected char[] | nextCharBuf |
protected int | nextCharInd |
protected boolean | prevCharIsCR |
protected boolean | prevCharIsLF |
static boolean | staticFlag |
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 | |
---|---|
protected void | AdjustBuffSize() |
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() |
protected void | ExpandBuff(boolean wrapAround) |
protected void | FillBuff() |
int | getBeginColumn() |
int | getBeginLine() |
int | getColumn() |
int | getEndColumn() |
int | getEndLine() |
int | getLine() |
String | GetImage() |
char[] | GetSuffix(int len) |
char | readChar() |
protected char | ReadByte() |
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) |
protected void | UpdateLineColumn(char c) |
Deprecated:
See Also: JavaCharStream
Deprecated:
See Also: JavaCharStream