public class XMLReader
extends java.io.Reader
Modifier and Type | Field and Description |
---|---|
static char |
COLON_REPLACEMENT |
private int |
myColonCount |
private boolean |
myIsClosed |
private boolean |
myIsEscaping |
private java.io.Reader |
mySource |
Constructor and Description |
---|
XMLReader(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isClosed() |
int |
read(char[] b,
int off,
int len) |
public static final char COLON_REPLACEMENT
private java.io.Reader mySource
private boolean myIsEscaping
private int myColonCount
private boolean myIsClosed
public XMLReader(java.io.InputStream is) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public int read(char[] b, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public boolean isClosed()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException