Class SVNCharsetConvertor
java.lang.Object
org.tmatesoft.svn.core.internal.util.SVNCharsetConvertor
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private CharBuffer
private CharsetDecoder
private CharsetEncoder
private ByteBuffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ByteBuffer
allocate
(ByteBuffer buffer, int length) private static CharBuffer
allocate
(CharBuffer buffer, int length) convertChunk
(byte[] b, int offset, int length, ByteBuffer dst, boolean endOfInput) flush
(ByteBuffer dst) reset()
private static void
throwException
(CoderResult result) toString()
-
Field Details
-
DEFAULT_BUFFER_CAPACITY
private static final int DEFAULT_BUFFER_CAPACITY- See Also:
-
myDecoder
-
myEncoder
-
myCharBuffer
-
myInputByteBuffer
-
-
Constructor Details
-
SVNCharsetConvertor
-
-
Method Details
-
reset
-
convertChunk
public ByteBuffer convertChunk(byte[] b, int offset, int length, ByteBuffer dst, boolean endOfInput) throws SVNException - Throws:
SVNException
-
flush
- Throws:
SVNException
-
allocate
-
allocate
-
throwException
- Throws:
SVNException
-
toString
-