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
ConstructorsConstructorDescriptionExternalEncoding(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.ResourcebooleanisUnicodeCharacterSupported(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:
isUnicodeCharacterSupportedin interfaceEncodingCore
-
getResource
public org.pentaho.reporting.libraries.resourceloader.Resource getResource() -
encode
Description copied from interface:EncodingCoreEncode, but ignore errors.- Specified by:
encodein interfaceEncodingCore- Returns:
- Throws:
EncodingException
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Specified by:
encodein interfaceEncodingCore- Throws:
EncodingException
-
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
-