public final class ASCII_UCodeESC_CharStream extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
available |
private int[] |
bufcolumn |
private char[] |
buffer |
private int[] |
bufline |
private int |
bufpos |
private int |
bufsize |
private int |
column |
private int |
inBuf |
private java.io.Reader |
inputStream |
private int |
line |
private int |
maxNextCharInd |
private char[] |
nextCharBuf |
private int |
nextCharInd |
private boolean |
prevCharIsCR |
private boolean |
prevCharIsLF |
static boolean |
staticFlag |
private int |
tokenBegin |
| Modifier | Constructor and Description |
|---|---|
|
ASCII_UCodeESC_CharStream(java.io.InputStream dstream,
int startline,
int startcolumn) |
private |
ASCII_UCodeESC_CharStream(java.io.Reader dstream,
int startline,
int startcolumn,
int buffersize) |
| Modifier and Type | Method and Description |
|---|---|
private void |
adjustBuffSize() |
void |
backup(int amount) |
char |
beginToken() |
private void |
expandBuff(boolean wrapAround) |
private void |
fillBuff() |
int |
getBeginColumn() |
int |
getBeginLine() |
int |
getEndColumn() |
int |
getEndLine() |
java.lang.String |
getImage() |
char[] |
getSuffix(int len) |
private static int |
hexval(char c) |
private char |
readByte() |
char |
readChar() |
private void |
updateLineColumn(char c) |
public static final boolean staticFlag
private int bufpos
private int bufsize
private int available
private int tokenBegin
private int[] bufline
private int[] bufcolumn
private int column
private int line
private java.io.Reader inputStream
private boolean prevCharIsCR
private boolean prevCharIsLF
private char[] nextCharBuf
private char[] buffer
private int maxNextCharInd
private int nextCharInd
private int inBuf
private ASCII_UCodeESC_CharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize)
public ASCII_UCodeESC_CharStream(java.io.InputStream dstream, int startline, int startcolumn)
private static final int hexval(char c) throws java.io.IOException
java.io.IOExceptionprivate final void expandBuff(boolean wrapAround)
private final void fillBuff() throws java.io.IOException
java.io.IOExceptionprivate final char readByte() throws java.io.IOException
java.io.IOExceptionpublic final char beginToken() throws java.io.IOException
java.io.IOExceptionprivate final void adjustBuffSize()
private final void updateLineColumn(char c)
public final char readChar() throws java.io.IOException
java.io.IOExceptionpublic final int getEndColumn()
public final int getEndLine()
public final int getBeginColumn()
public final int getBeginLine()
public final void backup(int amount)
public final java.lang.String getImage()
public final char[] getSuffix(int len)