public class CharsetStreamTranslator
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_BUFFER_SIZE |
Constructor and Description |
---|
CharsetStreamTranslator(java.nio.charset.Charset inputCharset,
java.nio.charset.Charset outputCharset,
java.io.InputStream source) |
CharsetStreamTranslator(java.nio.charset.Charset inputCharset,
java.nio.charset.Charset outputCharset,
java.io.InputStream source,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
processNext() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
public static final int BYTE_BUFFER_SIZE
public CharsetStreamTranslator(java.nio.charset.Charset inputCharset, java.nio.charset.Charset outputCharset, java.io.InputStream source, int bufferSize)
public CharsetStreamTranslator(java.nio.charset.Charset inputCharset, java.nio.charset.Charset outputCharset, java.io.InputStream source)
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void processNext()
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException