| java.lang.Object java.io.Reader de.intarsys.pdf.encoding.MappedReader
MappedReader | public class MappedReader extends Reader (Code) | | A reader that uses a PDF style encoding to map byte code to unicode.
|
MappedReader | public MappedReader(InputStream is, Encoding encoding)(Code) | | Create a MappedReader
Parameters: is - The underlying byte stream. Parameters: encoding - The encoding to use. |
ensureOpen | protected void ensureOpen() throws IOException(Code) | | Check to make sure that the stream has not been closed
throws: IOException - if the inStream is null. |
getEncoding | public Encoding getEncoding()(Code) | | The encoding used by this reader.
The encoding used by this reader. |
read | public int read(char[] cbuf, int off, int len) throws IOException(Code) | | Read characters into a portion of an array. This method will block until
some input is available, an I/O error occurs, or the end of the stream is
reached.
Parameters: cbuf - Destination buffer Parameters: off - Offset at which to start storing characters Parameters: len - Maximum number of characters to read The number of characters read, or -1 if the end of the stream hasbeen reached exception: IOException - If an I/O error occurs throws: IndexOutOfBoundsException - |
|
|