public final class Ascii extends Object implements Encoding
| Constructor and Description |
|---|
Ascii() |
| 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 boolean isUnicodeCharacterSupported(int c)
isUnicodeCharacterSupported in interface EncodingCorepublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)
encode in interface EncodingCoretext - buffer - public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)
decode in interface EncodingCorepublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
encode in interface EncodingCoreEncodingExceptionpublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
decode in interface EncodingCoreEncodingException