public abstract class AbstractCharacterConverter
extends java.nio.charset.Charset
Modifier | Constructor and Description |
---|---|
protected |
AbstractCharacterConverter(java.lang.String canonicalName,
java.lang.String[] aliases) |
Modifier and Type | Method and Description |
---|---|
abstract char[] |
bytes2chars(byte[] bytes,
int offset,
int length) |
abstract byte[] |
chars2bytes(char[] chars,
int offset,
int length) |
boolean |
contains(java.nio.charset.Charset cs) |
java.nio.charset.CharsetDecoder |
newDecoder() |
java.nio.charset.CharsetEncoder |
newEncoder() |
protected AbstractCharacterConverter(java.lang.String canonicalName, java.lang.String[] aliases)
public abstract char[] bytes2chars(byte[] bytes, int offset, int length)
public abstract byte[] chars2bytes(char[] chars, int offset, int length)
public boolean contains(java.nio.charset.Charset cs)
contains
in class java.nio.charset.Charset
public java.nio.charset.CharsetDecoder newDecoder()
newDecoder
in class java.nio.charset.Charset
public java.nio.charset.CharsetEncoder newEncoder()
newEncoder
in class java.nio.charset.Charset