| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private char[] | |
| private ByteArrayInputStream | |
| private ReEncodedInputStream. | |
| private OutputStreamWriter | |
| private Reader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. |
| public void | close()
Overrides java. Implements java. |
| protected void | finalize()
Overrides java. |
| public int | read()
Implements abstract java. |
| private ByteArrayInputStream |
| BUFFERED_CHAR_LEN | back to summary |
|---|---|
| private static final int BUFFERED_CHAR_LEN | |
| decodedBuffer_ | back to summary |
|---|---|
| private char[] decodedBuffer_ | |
| encodedInputStream_ | back to summary |
|---|---|
| private ByteArrayInputStream encodedInputStream_ | |
| encodedOutputStream_ | back to summary |
|---|---|
| private ReEncodedInputStream. | |
| encodedStreamWriter_ | back to summary |
|---|---|
| private OutputStreamWriter encodedStreamWriter_ | |
| reader_ | back to summary |
|---|---|
| private Reader reader_ | |
| ReEncodedInputStream | back to summary |
|---|---|
| public ReEncodedInputStream(Reader reader) throws IOException | |
| available | back to summary |
|---|---|
| public int available() throws IOException Overrides java. Doc from java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. The read might be on the same thread or another thread. A single read or skip of this many bytes will not block, but may read or skip fewer bytes. Note that while some implementations of A subclass's implementation of this method may choose to throw an
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws IOException Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| reEncode | back to summary |
|---|---|
| private ByteArrayInputStream reEncode(Reader reader) throws IOException | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| PublicBufferOutputStream | back to summary |
|---|---|
| pack-priv PublicBufferOutputStream(int size) | |
| getBuffer | back to summary |
|---|---|
| public byte[] getBuffer() | |