| java.lang.Object java.io.Reader net.n3.nanoxml.PIReader
PIReader | class PIReader extends Reader (Code) | | This reader reads data from another reader until the end of a processing
instruction (?>) has been encountered.
author: Marc De Scheemaecker version: $Name: RELEASE_2_2_1 $, $Revision: 1.3 $ |
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[] buffer, int offset, int size) Reads a block of data. |
PIReader | PIReader(IXMLReader reader)(Code) | | Creates the reader.
Parameters: reader - the encapsulated reader |
finalize | protected void finalize() throws Throwable(Code) | | Cleans up the object when it's destroyed.
|
read | public int read(char[] buffer, int offset, int size) throws IOException(Code) | | Reads a block of data.
Parameters: buffer - 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 |
|
|