public final class External8BitEncodingCore extends java.lang.Object implements EncodingCore
| Constructor and Description |
|---|
External8BitEncodingCore(External8BitEncodingData resource) |
| 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) |
boolean |
isUnicodeCharacterSupported(int c) |
public External8BitEncodingCore(External8BitEncodingData resource)
public boolean isUnicodeCharacterSupported(int c)
isUnicodeCharacterSupported in interface EncodingCorepublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)
encode in interface EncodingCoretext - buffer - public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
encode in interface EncodingCoreEncodingExceptionpublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)
decode in interface EncodingCorepublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)
decode in interface EncodingCore