@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class SimpleCharStream extends Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
bufcolumn
Deprecated.
|
protected char[] |
buffer
Deprecated.
|
protected int[] |
bufline
Deprecated.
|
int |
bufpos
Deprecated.
|
protected int |
column
Deprecated.
|
protected int |
inBuf
Deprecated.
|
protected Reader |
inputStream
Deprecated.
|
protected int |
line
Deprecated.
|
protected int |
maxNextCharInd
Deprecated.
|
protected boolean |
prevCharIsCR
Deprecated.
|
protected boolean |
prevCharIsLF
Deprecated.
|
static boolean |
staticFlag
Deprecated.
|
protected int |
tabSize
Deprecated.
|
Constructor and Description |
---|
SimpleCharStream(InputStream dstream)
Deprecated.
|
SimpleCharStream(InputStream dstream,
int startline,
int startcolumn)
Deprecated.
|
SimpleCharStream(InputStream dstream,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
SimpleCharStream(InputStream dstream,
String encoding)
Deprecated.
|
SimpleCharStream(InputStream dstream,
String encoding,
int startline,
int startcolumn)
Deprecated.
|
SimpleCharStream(InputStream dstream,
String encoding,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
SimpleCharStream(Reader dstream)
Deprecated.
|
SimpleCharStream(Reader dstream,
int startline,
int startcolumn)
Deprecated.
|
SimpleCharStream(Reader dstream,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
adjustBeginLineColumn(int newLine,
int newCol)
Deprecated.
Method to adjust line and column numbers for the start of a token.
|
void |
backup(int amount)
Deprecated.
|
char |
BeginToken()
Deprecated.
|
void |
Done()
Deprecated.
|
protected void |
ExpandBuff(boolean wrapAround)
Deprecated.
|
protected void |
FillBuff()
Deprecated.
|
int |
getBeginColumn()
Deprecated.
|
int |
getBeginLine()
Deprecated.
|
int |
getEndColumn()
Deprecated.
|
int |
getEndLine()
Deprecated.
|
String |
GetImage()
Deprecated.
|
char[] |
GetSuffix(int len)
Deprecated.
|
protected int |
getTabSize(int i)
Deprecated.
|
char |
readChar()
Deprecated.
|
void |
ReInit(InputStream dstream)
Deprecated.
|
void |
ReInit(InputStream dstream,
int startline,
int startcolumn)
Deprecated.
|
void |
ReInit(InputStream dstream,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
void |
ReInit(InputStream dstream,
String encoding)
Deprecated.
|
void |
ReInit(InputStream dstream,
String encoding,
int startline,
int startcolumn)
Deprecated.
|
void |
ReInit(InputStream dstream,
String encoding,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
void |
ReInit(Reader dstream)
Deprecated.
|
void |
ReInit(Reader dstream,
int startline,
int startcolumn)
Deprecated.
|
void |
ReInit(Reader dstream,
int startline,
int startcolumn,
int buffersize)
Deprecated.
|
protected void |
setTabSize(int i)
Deprecated.
|
protected void |
UpdateLineColumn(char c)
Deprecated.
|
public static final boolean staticFlag
public int bufpos
protected int[] bufline
protected int[] bufcolumn
protected int column
protected int line
protected boolean prevCharIsCR
protected boolean prevCharIsLF
protected Reader inputStream
protected char[] buffer
protected int maxNextCharInd
protected int inBuf
protected int tabSize
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, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException
UnsupportedEncodingException
public SimpleCharStream(InputStream dstream, int startline, int startcolumn, int buffersize)
public SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException
UnsupportedEncodingException
public SimpleCharStream(InputStream dstream, int startline, int startcolumn)
public SimpleCharStream(InputStream dstream, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public SimpleCharStream(InputStream dstream)
protected void setTabSize(int i)
protected int getTabSize(int i)
protected void ExpandBuff(boolean wrapAround)
protected void FillBuff() throws IOException
IOException
public char BeginToken() throws IOException
IOException
protected void UpdateLineColumn(char c)
public char readChar() throws IOException
IOException
public int getEndColumn()
public int getEndLine()
public int getBeginColumn()
public int getBeginLine()
public void backup(int amount)
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, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException
UnsupportedEncodingException
public void ReInit(InputStream dstream, int startline, int startcolumn, int buffersize)
public void ReInit(InputStream dstream, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public void ReInit(InputStream dstream)
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException
UnsupportedEncodingException
public void ReInit(InputStream dstream, int startline, int startcolumn)
public String GetImage()
public char[] GetSuffix(int len)
public void Done()
public void adjustBeginLineColumn(int newLine, int newCol)
Copyright © 2022 Apache Software Foundation. All rights reserved.