|
|||||||||
| Home >> All >> com >> go >> trove >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.go.trove.io
Class EscapeReader

java.lang.Objectjava.io.Reader
java.io.FilterReader
com.go.trove.io.PositionReader
com.go.trove.io.EscapeReader
- Direct Known Subclasses:
- TagReader, UnicodeReader
- public abstract class EscapeReader
- extends PositionReader
This reader aids in decoding escapes in a character stream.
- Version:
- 12 , 12/11/00
| Field Summary | |
protected boolean |
mEscapesEnabled
|
private java.io.Reader |
mOriginal
|
protected PushbackPositionReader |
mSource
|
| Fields inherited from class com.go.trove.io.PositionReader |
mPosition, mPosReader |
| Fields inherited from class java.io.FilterReader |
in |
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
EscapeReader(java.io.Reader source,
int escapeSize)
An EscapeReader needs an underlying source reader. |
|
| Method Summary | |
int |
getNextPosition()
|
java.io.Reader |
getOriginalSource()
|
boolean |
isEscapesEnabled()
Escapes are enabled by default. |
void |
setEscapesEnabled(boolean enabled)
Enable or disable the processing of escapes. |
| Methods inherited from class com.go.trove.io.PositionReader |
close, read, read |
| Methods inherited from class java.io.FilterReader |
mark, markSupported, ready, reset, skip |
| Methods inherited from class java.io.Reader |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
mSource
protected PushbackPositionReader mSource
mEscapesEnabled
protected boolean mEscapesEnabled
mOriginal
private java.io.Reader mOriginal
| Constructor Detail |
EscapeReader
public EscapeReader(java.io.Reader source, int escapeSize)
- An EscapeReader needs an underlying source reader.
| Method Detail |
getOriginalSource
public java.io.Reader getOriginalSource()
isEscapesEnabled
public boolean isEscapesEnabled()
- Escapes are enabled by default.
setEscapesEnabled
public void setEscapesEnabled(boolean enabled)
- Enable or disable the processing of escapes. When disabled, this
Reader only functions as a PushbackReader.
getNextPosition
public int getNextPosition()
- Overrides:
getNextPositionin classPositionReader
|
|||||||||
| Home >> All >> com >> go >> trove >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC