public class B2CConverter
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
B2CConverter() |
|
B2CConverter(java.lang.String encoding)
Create a converter, with bytes going to a byte buffer
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(ByteChunk bb,
CharChunk cb)
Convert a buffer of bytes into a chars
|
void |
convert(ByteChunk bb,
CharChunk cb,
int limit) |
static void |
convertASCII(MessageBytes mb)
Character conversion of a US-ASCII MessageBytes.
|
protected void |
init(java.lang.String encoding) |
void |
recycle()
Reset the internal state, empty the buffers.
|
void |
reset() |
protected B2CConverter()
public B2CConverter(java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionprotected void init(java.lang.String encoding)
public void recycle()
public void convert(ByteChunk bb, CharChunk cb) throws java.io.IOException
java.io.IOExceptionpublic void convert(ByteChunk bb, CharChunk cb, int limit) throws java.io.IOException
java.io.IOExceptionpublic static void convertASCII(MessageBytes mb)
public void reset()
throws java.io.IOException
java.io.IOExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.