| java.lang.Object java.io.Reader net.n3.nanoxml.ContentReader
ContentReader | class ContentReader extends Reader (Code) | | This reader reads data from another reader until a new element has
been encountered.
author: Marc De Scheemaecker version: $Name: $, $Revision: 1.17 $ |
Method Summary | |
public void | close() Skips remaining data and closes the stream. | protected void | finalize() Cleans up the object when it's destroyed. | public int | read(char[] outputBuffer, int offset, int size) Reads a block of data. |
ContentReader | ContentReader(IXMLReader reader, IXMLEntityResolver resolver, String buffer)(Code) | | Creates the reader.
Parameters: reader - the encapsulated reader Parameters: resolver - the entity resolver Parameters: buffer - data that has already been read from reader |
finalize | protected void finalize() throws Throwable(Code) | | Cleans up the object when it's destroyed.
|
read | public int read(char[] outputBuffer, int offset, int size) throws IOException(Code) | | Reads a block of data.
Parameters: outputBuffer - where to put the read data Parameters: offset - first position in buffer to put the data Parameters: size - maximum number of chars to read the number of chars read, or -1 if at EOF throws: java.io.IOException - if an error occurred reading the data |
|
|