Class BuiltInJavaEncoding
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.manual.BuiltInJavaEncoding
- All Implemented Interfaces:
Encoding,EncodingCore
-
Constructor Summary
Constructors -
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()booleanisUnicodeCharacterSupported(int c)
-
Constructor Details
-
BuiltInJavaEncoding
-
-
Method Details
-
decode
- Specified by:
decodein interfaceEncodingCore- Throws:
EncodingException
-
decode
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
decodein interfaceEncodingCore- Throws:
EncodingException
-
encode
Encode, but ignore errors.- Specified by:
encodein interfaceEncodingCore- Parameters:
text-buffer-- Returns:
- Throws:
EncodingException
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
encodein interfaceEncodingCore- Throws:
EncodingException
-
getName
-
getName
-
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c) - Specified by:
isUnicodeCharacterSupportedin interfaceEncodingCore
-