com.sun.syndication.io.impl
Class XmlFixerReader
java.lang.Object
java.io.Reader
com.sun.syndication.io.impl.XmlFixerReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class XmlFixerReader
- extends java.io.Reader
- Author:
- Alejandro Abdelnur
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class java.io.Reader |
read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected java.io.Reader in
trimmed
private boolean trimmed
_buffer
private java.lang.StringBuffer _buffer
_bufferPos
private int _bufferPos
_state
private int _state
CODED_ENTITIES
private static java.util.Map CODED_ENTITIES
ENTITIES_PATTERN
private static java.util.regex.Pattern ENTITIES_PATTERN
XmlFixerReader
public XmlFixerReader(java.io.Reader in)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
trimStream
private boolean trimStream()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.Reader
- Throws:
java.io.IOException
read
public int read(char[] buffer,
int offset,
int len)
throws java.io.IOException
- Specified by:
read
in class java.io.Reader
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
skip
in class java.io.Reader
- Throws:
java.io.IOException
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready
in class java.io.Reader
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.Reader
mark
public void mark(int readAheadLimit)
throws java.io.IOException
- Overrides:
mark
in class java.io.Reader
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Overrides:
reset
in class java.io.Reader
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Reader
- Throws:
java.io.IOException
processHtmlEntities
public java.lang.String processHtmlEntities(java.lang.String s)
Copyright © Sun Microsystems. All Rights Reserved.