| org.apache.batik.util.io.NormalizingReader org.apache.batik.util.io.StringNormalizingReader
StringNormalizingReader | public class StringNormalizingReader extends NormalizingReader (Code) | | This class represents a NormalizingReader which handles Strings.
author: Stephane Hillion version: $Id$ |
Field Summary | |
protected int | column The current column in the stream. | protected int | length The length of the string. | protected int | line The current line in the stream. | protected int | next The index of the next character. | protected String | string The characters. |
Method Summary | |
public void | close() Close the stream. | public int | getColumn() Returns the current column in the stream. | public int | getLine() Returns the current line in the stream. | public int | read() Read a single character. |
column | protected int column(Code) | | The current column in the stream.
|
length | protected int length(Code) | | The length of the string.
|
line | protected int line(Code) | | The current line in the stream.
|
next | protected int next(Code) | | The index of the next character.
|
StringNormalizingReader | public StringNormalizingReader(String s)(Code) | | Creates a new StringNormalizingReader.
Parameters: s - The string to read. |
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.
|
|
|