public class BuiltInJavaEncoding extends Object implements Encoding
| Constructor and Description |
|---|
BuiltInJavaEncoding(String name,
boolean fastMode) |
| Modifier and Type | Method and Description |
|---|---|
CodePointBuffer |
decode(ByteBuffer text,
CodePointBuffer buffer) |
CodePointBuffer |
decode(ByteBuffer text,
CodePointBuffer buffer,
EncodingErrorType errorHandling) |
ByteBuffer |
encode(CodePointBuffer text,
ByteBuffer buffer)
Encode, but ignore errors.
|
ByteBuffer |
encode(CodePointBuffer text,
ByteBuffer buffer,
EncodingErrorType errorHandling) |
String |
getName() |
String |
getName(Locale locale) |
boolean |
isUnicodeCharacterSupported(int c) |
public BuiltInJavaEncoding(String name, boolean fastMode)
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer) throws EncodingException
decode in interface EncodingCoreEncodingExceptionpublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
decode in interface EncodingCoreEncodingExceptionpublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer) throws EncodingException
encode in interface EncodingCoretext - buffer - EncodingExceptionpublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
encode in interface EncodingCoreEncodingExceptionpublic boolean isUnicodeCharacterSupported(int c)
isUnicodeCharacterSupported in interface EncodingCore