| java.lang.Object java.io.Reader org.apache.batik.util.io.NormalizingReader
All known Subclasses: org.apache.batik.util.io.StreamNormalizingReader, org.apache.batik.util.io.StringNormalizingReader,
NormalizingReader | abstract public class NormalizingReader extends Reader (Code) | | This class represents a reader which normalizes the line break: \n,
\r, \r\n are replaced by \n. The methods of this reader are not
synchronized. The input is buffered.
author: Stephane Hillion version: $Id$ |
Method Summary | |
abstract public int | getColumn() Returns the current column in the stream. | abstract public int | getLine() Returns the current line in the stream. | public int | read(char cbuf, int off, int len) Read characters into a portion of an array. |
getColumn | abstract public int getColumn()(Code) | | Returns the current column in the stream.
|
getLine | abstract public int getLine()(Code) | | Returns the current line in the stream.
|
read | public int read(char cbuf, int off, int len) throws IOException(Code) | | Read characters into a portion of an array.
Parameters: cbuf - Destination buffer Parameters: off - Offset at which to start writing characters Parameters: len - Maximum number of characters to read The number of characters read, or -1 if the end of thestream has been reached |
|
|