Class ExternalEncoding
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ExternalEncoding
- All Implemented Interfaces:
Encoding
,EncodingCore
Creation-Date: 29.04.2006, 14:49:06
- Author:
- Thomas Morgner
-
Constructor Summary
ConstructorDescriptionExternalEncoding
(String name, EncodingCore core, org.pentaho.reporting.libraries.resourceloader.Resource resource) -
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()
org.pentaho.reporting.libraries.resourceloader.Resource
boolean
isUnicodeCharacterSupported
(int c)
-
Constructor Details
-
ExternalEncoding
public ExternalEncoding(String name, EncodingCore core, org.pentaho.reporting.libraries.resourceloader.Resource resource)
-
-
Method Details
-
getName
-
getName
-
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c) - Specified by:
isUnicodeCharacterSupported
in interfaceEncodingCore
-
getResource
public org.pentaho.reporting.libraries.resourceloader.Resource getResource() -
encode
Description copied from interface:EncodingCore
Encode, but ignore errors.- Specified by:
encode
in interfaceEncodingCore
- Returns:
- Throws:
EncodingException
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
encode
in interfaceEncodingCore
- Throws:
EncodingException
-
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
-