public class YamlUnicodeReader extends Reader
Constructor and Description |
---|
YamlUnicodeReader(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Charset |
getEncoding()
Get stream encoding or NULL if stream is uninitialized.
|
protected void |
init()
Read-ahead four bytes and check for BOM marks.
|
int |
read(char[] cbuf,
int off,
int len) |
public YamlUnicodeReader(InputStream in)
in
- InputStream to be readpublic Charset getEncoding()
protected void init() throws IOException
IOException
- if InputStream cannot be createdpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Copyright © 2019 Hazelcast, Inc.. All rights reserved.