public class SVNCharsetInputStream
extends java.io.FilterInputStream
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_BUFFER_CAPACITY |
private SVNCharsetConvertor |
myCharsetConvertor |
private java.nio.ByteBuffer |
myConvertedBuffer |
private boolean |
myEndOfStream |
private byte[] |
mySourceBuffer |
Constructor and Description |
---|
SVNCharsetInputStream(java.io.InputStream in,
java.nio.charset.Charset inputCharset,
java.nio.charset.Charset outputCharset,
java.nio.charset.CodingErrorAction malformedInputAction,
java.nio.charset.CodingErrorAction unmappableCharAction) |
Modifier and Type | Method and Description |
---|---|
private int |
fillBuffer() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
java.lang.String |
toString() |
private static final int DEFAULT_BUFFER_CAPACITY
private SVNCharsetConvertor myCharsetConvertor
private byte[] mySourceBuffer
private java.nio.ByteBuffer myConvertedBuffer
private boolean myEndOfStream
public SVNCharsetInputStream(java.io.InputStream in, java.nio.charset.Charset inputCharset, java.nio.charset.Charset outputCharset, java.nio.charset.CodingErrorAction malformedInputAction, java.nio.charset.CodingErrorAction unmappableCharAction)
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
private int fillBuffer() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object