public class CharsetEncoderInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
CharsetEncoderInputStream(java.io.InputStream arg0,
java.nio.charset.Charset charset)
Constructs a CharsetEncoderInputStream.
|
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] arg0,
int arg1,
int arg2) |
public CharsetEncoderInputStream(java.io.InputStream arg0, java.nio.charset.Charset charset)
arg0
- the characterstreamcharset
- the charset the characterstream is encoded inpublic int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
InputStream.read()
public int read(byte[] arg0, int arg1, int arg2) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
InputStream.read(byte[], int, int)
Copyright © 2021. All Rights Reserved.