Class BuiltInJavaEncoding
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.manual.BuiltInJavaEncoding
- All Implemented Interfaces:
Encoding
,EncodingCore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(ByteBuffer text, CodePointBuffer buffer) decode
(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) encode
(CodePointBuffer text, ByteBuffer buffer) Encode, but ignore errors.encode
(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) getName()
boolean
isUnicodeCharacterSupported
(int c)
-
Constructor Details
-
BuiltInJavaEncoding
-
-
Method Details
-
decode
- Specified by:
decode
in interfaceEncodingCore
- Throws:
EncodingException
-
decode
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
decode
in interfaceEncodingCore
- Throws:
EncodingException
-
encode
Encode, but ignore errors.- Specified by:
encode
in interfaceEncodingCore
- Parameters:
text
-buffer
-- Returns:
- Throws:
EncodingException
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
encode
in interfaceEncodingCore
- Throws:
EncodingException
-
getName
-
getName
-
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c) - Specified by:
isUnicodeCharacterSupported
in interfaceEncodingCore
-