|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.record.compiler.generated.SimpleCharStream
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class SimpleCharStream
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |