public class XmlFixerReader
extends java.io.Reader
| Modifier and Type | Field and Description |
|---|---|
private java.lang.StringBuffer |
_buffer |
private int |
_bufferPos |
private int |
_state |
private static java.util.Map |
CODED_ENTITIES |
private static java.util.regex.Pattern |
ENTITIES_PATTERN |
protected java.io.Reader |
in |
private boolean |
trimmed |
| Constructor and Description |
|---|
XmlFixerReader(java.io.Reader in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
main(java.lang.String[] args) |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
java.lang.String |
processHtmlEntities(java.lang.String s) |
int |
read() |
int |
read(char[] buffer,
int offset,
int len) |
boolean |
ready() |
void |
reset() |
long |
skip(long n) |
private boolean |
trimStream() |
protected java.io.Reader in
private boolean trimmed
private java.lang.StringBuffer _buffer
private int _bufferPos
private int _state
private static java.util.Map CODED_ENTITIES
private static java.util.regex.Pattern ENTITIES_PATTERN
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionprivate boolean trimStream()
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic int read(char[] buffer,
int offset,
int len)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.Readerjava.io.IOExceptionpublic boolean ready()
throws java.io.IOException
ready in class java.io.Readerjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.Readerpublic void mark(int readAheadLimit)
throws java.io.IOException
mark in class java.io.Readerjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.Readerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerjava.io.IOExceptionpublic java.lang.String processHtmlEntities(java.lang.String s)
Copyright © Sun Microsystems. All Rights Reserved.