| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| pack-priv PushbackInputStream | |
| pack-priv InputStreamReader | |
| private static final Charset | |
| private static final Charset | |
| private static final Charset |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. |
| public String | Returns: the name of the character encoding being used by this stream.Get stream encoding or NULL if stream is uninitialized. |
| protected void | |
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read len)Implements abstract java. |
| BOM_SIZE | back to summary |
|---|---|
| private static final int BOM_SIZE | |
| internalIn | back to summary |
|---|---|
| pack-priv PushbackInputStream internalIn | |
| internalIn2 | back to summary |
|---|---|
| pack-priv InputStreamReader internalIn2 | |
| UTF16BE | back to summary |
|---|---|
| private static final Charset UTF16BE | |
| UTF16LE | back to summary |
|---|---|
| private static final Charset UTF16LE | |
| UTF8 | back to summary |
|---|---|
| private static final Charset UTF8 | |
| UnicodeReader | back to summary |
|---|---|
public UnicodeReader(InputStream in)
| |
| 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.
| |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Get stream encoding or NULL if stream is uninitialized. Call init() or read() method to initialize it.
| |
| init | back to summary |
|---|---|
| protected void init() throws IOException Read-ahead four bytes and check for BOM marks. Extra bytes are unread back to the stream, only BOM bytes are skipped.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int off, int len) 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
| |