Class External8BitEncodingCore
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.encoding.External8BitEncodingCore
-
- All Implemented Interfaces:
EncodingCore
public final class External8BitEncodingCore extends Object implements EncodingCore
This is an autogenerated file. The charset contents of this file have been read from '${source}'. This class supports the encoding '${encoding}'.
-
-
Constructor Summary
Constructors Constructor Description External8BitEncodingCore(External8BitEncodingData resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
External8BitEncodingCore
public External8BitEncodingCore(External8BitEncodingData resource)
-
-
Method Detail
-
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c)
- Specified by:
isUnicodeCharacterSupported
in interfaceEncodingCore
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)
Encode, but ignore errors.- Specified by:
encode
in interfaceEncodingCore
- Parameters:
text
-buffer
-- Returns:
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
- Specified by:
encode
in interfaceEncodingCore
- Throws:
EncodingException
-
decode
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)
- Specified by:
decode
in interfaceEncodingCore
-
decode
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)
- Specified by:
decode
in interfaceEncodingCore
-
-