| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final ReadableByteChannel | |
| private volatile boolean | |
| private final Charset | |
| private final CharsetDecoder | |
| private static final int | |
| private boolean | |
| private final InputStream | |
| private char | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. Closes the stream and releases any system resources associated with it. |
| pack-priv String | |
| private void | |
| public void | |
| public static StreamDecoder | |
| public static StreamDecoder | |
| public static StreamDecoder | |
| public static StreamDecoder | |
| public String | |
| pack-priv void | |
| pack-priv int | |
| pack-priv boolean | |
| private boolean | |
| private boolean | |
| public int | |
| public int | read(char[] cbuf, int offset, int length)
Implements abstract java. Reads characters into a portion of an array. |
| private int | |
| private int | |
| public boolean |
| bb | back to summary |
|---|---|
| private final ByteBuffer bb | |
| ch | back to summary |
|---|---|
| private final ReadableByteChannel ch | |
| closed | back to summary |
|---|---|
| private volatile boolean closed | |
| cs | back to summary |
|---|---|
| private final Charset cs | |
| decoder | back to summary |
|---|---|
| private final CharsetDecoder decoder | |
| DEFAULT_BYTE_BUFFER_SIZE | back to summary |
|---|---|
| private static final int DEFAULT_BYTE_BUFFER_SIZE | |
| haveLeftoverChar | back to summary |
|---|---|
| private boolean haveLeftoverChar | |
| in | back to summary |
|---|---|
| private final InputStream in | |
| leftoverChar | back to summary |
|---|---|
| private char leftoverChar | |
| MIN_BYTE_BUFFER_SIZE | back to summary |
|---|---|
| private static final int MIN_BYTE_BUFFER_SIZE | |
| StreamDecoder | back to summary |
|---|---|
| pack-priv StreamDecoder(InputStream in, Object lock, Charset cs) | |
| StreamDecoder | back to summary |
|---|---|
| pack-priv StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) | |
| StreamDecoder | back to summary |
|---|---|
| pack-priv StreamDecoder(ReadableByteChannel ch, CharsetDecoder dec, int mbc) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| encodingName | back to summary |
|---|---|
| pack-priv String encodingName() | |
| ensureOpen | back to summary |
|---|---|
| private void ensureOpen() throws IOException | |
| fillZeroToPosition | back to summary |
|---|---|
| public void fillZeroToPosition() throws IOException | |
| forDecoder | back to summary |
|---|---|
| public static StreamDecoder forDecoder(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap) | |
| forInputStreamReader | back to summary |
|---|---|
| public static StreamDecoder forInputStreamReader(InputStream in, Object lock, String charsetName) throws UnsupportedEncodingException | |
| forInputStreamReader | back to summary |
|---|---|
| public static StreamDecoder forInputStreamReader(InputStream in, Object lock, Charset cs) | |
| forInputStreamReader | back to summary |
|---|---|
| public static StreamDecoder forInputStreamReader(InputStream in, Object lock, CharsetDecoder dec) | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() | |
| implClose | back to summary |
|---|---|
| pack-priv void implClose() throws IOException | |
| implRead | back to summary |
|---|---|
| pack-priv int implRead(char[] cbuf, int off, int end) throws IOException | |
| implReady | back to summary |
|---|---|
| pack-priv boolean implReady() | |
| inReady | back to summary |
|---|---|
| private boolean inReady() | |
| isOpen | back to summary |
|---|---|
| private boolean isOpen() | |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads 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. Subclasses that intend to support efficient single-character input should override this method.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int offset, int length) throws IOException Implements abstract java. Doc from java. Reads 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. If
| |
| read0 | back to summary |
|---|---|
private int read0() throws IOException
| |
| readBytes | back to summary |
|---|---|
| private int readBytes() throws IOException | |
| ready | back to summary |
|---|---|
| public boolean ready() throws IOException Overrides java. Doc from java. Tells whether this stream is ready to be read.
| |