| |
|
| java.lang.Object java.io.Reader org.apache.batik.util.io.NormalizingReader org.apache.batik.util.io.StreamNormalizingReader
StreamNormalizingReader | public class StreamNormalizingReader extends NormalizingReader (Code) | | This class represents a NormalizingReader which handles streams of
bytes.
author: Stephane Hillion version: $Id$ |
Inner Class :protected interface CharDecoderFactory | |
Inner Class :protected static class ASCIIDecoderFactory implements CharDecoderFactory | |
Inner Class :protected static class ISO_8859_1DecoderFactory implements CharDecoderFactory | |
Inner Class :protected static class UTF8DecoderFactory implements CharDecoderFactory | |
Inner Class :protected static class UTF16DecoderFactory implements CharDecoderFactory | |
charDecoderFactories | final protected static Map charDecoderFactories(Code) | | The CharDecoder factories map.
|
column | protected int column(Code) | | The current column in the stream.
|
line | protected int line(Code) | | The current line in the stream.
|
nextChar | protected int nextChar(Code) | | The next char.
|
StreamNormalizingReader | public StreamNormalizingReader(InputStream is) throws IOException(Code) | | Creates a new NormalizingReader. The encoding is assumed to be
ISO-8859-1.
Parameters: is - The input stream to decode. |
StreamNormalizingReader | public StreamNormalizingReader(InputStream is, String enc) throws IOException(Code) | | Creates a new NormalizingReader.
Parameters: is - The input stream to decode. Parameters: enc - The standard encoding name. A null encoding meansISO-8859-1. |
StreamNormalizingReader | public StreamNormalizingReader(Reader r) throws IOException(Code) | | Creates a new NormalizingReader.
Parameters: r - The reader to wrap. |
StreamNormalizingReader | protected StreamNormalizingReader()(Code) | | This constructor is intended for use by subclasses.
|
getColumn | public int getColumn()(Code) | | Returns the current column in the stream.
|
getLine | public int getLine()(Code) | | Returns the current line in the stream.
|
read | public int read() throws IOException(Code) | | Read a single character. This method will block until a
character is available, an I/O error occurs, or the end of the
stream is reached.
|
|
|
|