public class TextReaderBase extends Object
| Constructor and Description |
|---|
TextReaderBase(Object source,
Reader r) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept()
Called to advance the character, WITHOUT copying it.
|
void |
accept(int ct)
Accept ct characters by skipping over them, they are NOT copied.
|
protected void |
append(char c) |
void |
append(int c) |
void |
clearCopy() |
void |
copy() |
void |
copy(int count) |
String |
getCopied() |
int |
getCurrentColumn() |
int |
getCurrentLine() |
Object |
getSource() |
int |
LA()
Returns the "current" character in the queue.
|
int |
LA(int ix)
Returns the ixth character for lookahead.
|
protected StringBuilder |
sb() |
protected StringBuilder sb()
public String getCopied()
public void clearCopy()
protected void append(char c)
public void append(int c)
public Object getSource()
public int getCurrentLine()
public int getCurrentColumn()
public final int LA()
throws IOException
IOExceptionpublic final int LA(int ix)
throws IOException
ix - IOExceptionpublic void accept()
IOExceptionpublic void accept(int ct)
ct - public void copy()
throws IOException
IOExceptionpublic void copy(int count)
throws IOException
IOExceptionCopyright © 2017 etc.to. All rights reserved.