java.lang.Object
java.io.Reader
org.elasticsearch.common.text.UTF8DecodingReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
Reader that decodes UTF-8 formatted bytes into chars.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionUTF8DecodingReader(ByteBuffer bytes) UTF8DecodingReader(XContentString.UTF8Bytes utf8bytes) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intread(char[] cbuf, int off, int len) intread(CharBuffer cbuf) Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
UTF8DecodingReader
-
UTF8DecodingReader
-
-
Method Details
-
read
public int read(char[] cbuf, int off, int len) -
read
-
close
public void close()
-