public class CharsetDecoderUtil extends Object
Constructor and Description |
---|
CharsetDecoderUtil() |
Modifier and Type | Method and Description |
---|---|
static CharBuffer |
decode(String charsetName,
byte[] bytes) |
static CharBuffer |
decode(String charsetName,
byte[] bytes,
int offset,
int length) |
static CharBuffer |
decode(String charsetName,
ByteBuffer byteBuffer) |
static CharsetDecoder |
getCharsetDecoder(String charsetName) |
static CharsetDecoder |
getCharsetDecoder(String charsetName,
CodingErrorAction codingErrorAction) |
public static CharBuffer decode(String charsetName, byte[] bytes)
public static CharBuffer decode(String charsetName, byte[] bytes, int offset, int length)
public static CharBuffer decode(String charsetName, ByteBuffer byteBuffer)
public static CharsetDecoder getCharsetDecoder(String charsetName)
public static CharsetDecoder getCharsetDecoder(String charsetName, CodingErrorAction codingErrorAction)