com.sun.syndication.io.impl
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.Exception
private boolean trimStream() throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] buffer, int offset, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.Reader
java.io.IOException
public boolean ready() throws java.io.IOException
ready
in class java.io.Reader
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.Reader
public void mark(int readAheadLimit) throws java.io.IOException
mark
in class java.io.Reader
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.Reader
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.Reader
java.io.IOException
public java.lang.String processHtmlEntities(java.lang.String s)
Copyright © Sun Microsystems. All Rights Reserved.