public final class Iso8859_1 extends Object implements Encoding
Constructor and Description |
---|
Iso8859_1() |
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 EncodingCore
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)
encode
in interface EncodingCore
text
- buffer
- public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)
decode
in interface EncodingCore
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
encode
in interface EncodingCore
EncodingException
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
decode
in interface EncodingCore
EncodingException
Copyright © 2017 Hitachi Vantara. All rights reserved.