| com.go.tea.io.PositionReader com.go.tea.io.EscapeReader
All known Subclasses: com.go.tea.io.UnicodeReader, com.go.tea.io.TagReader,
EscapeReader | abstract public class EscapeReader extends PositionReader (Code) | | This reader aids in decoding escapes in a character stream.
author: Brian S O'Neill version: 11 , 12/11/00 |
Constructor Summary | |
public | EscapeReader(Reader source, int escapeSize) An EscapeReader needs an underlying source reader. |
mEscapesEnabled | protected boolean mEscapesEnabled(Code) | | |
EscapeReader | public EscapeReader(Reader source, int escapeSize)(Code) | | An EscapeReader needs an underlying source reader.
Parameters: source - the source Reader Parameters: escapeSize - the number of characters in an escape code |
getNextPosition | public int getNextPosition()(Code) | | the position of the next character to be read. |
isEscapesEnabled | public boolean isEscapesEnabled()(Code) | | Escapes are enabled by default.
|
setEscapesEnabled | public void setEscapesEnabled(boolean enabled)(Code) | | Enable or disable the processing of escapes. When disabled, this
Reader only functions as a PushbackReader.
|
|
|