| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| pack-priv Charset | |
| pack-priv PushbackInputStream | |
| pack-priv InputStreamReader | |
| private static final Charset | |
| private static final Charset | |
| 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. Closes the stream and releases any system resources associated with it. |
| public Charset | 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[] cbuf, int off, int len)
Implements abstract java. Reads characters into a portion of an array. |
| BOM_SIZE | back to summary |
|---|---|
| private static final int BOM_SIZE | |
| encoding | back to summary |
|---|---|
| pack-priv Charset encoding | |
| 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 | |
| UTF32BE | back to summary |
|---|---|
| private static final Charset UTF32BE | |
| UTF32LE | back to summary |
|---|---|
| private static final Charset UTF32LE | |
| UTF8 | back to summary |
|---|---|
| private static final Charset UTF8 | |
| YamlUnicodeReader | back to summary |
|---|---|
public YamlUnicodeReader(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 Charset 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
| |