org.pentaho.reporting.libraries.fonts.encoding
Class ExternalEncoding
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.ExternalEncoding
- All Implemented Interfaces:
- Encoding, EncodingCore
public final class ExternalEncoding
- extends Object
- implements Encoding
Creation-Date: 29.04.2006, 14:49:06
- Author:
- Thomas Morgner
ExternalEncoding
public ExternalEncoding(String name,
EncodingCore core,
org.pentaho.reporting.libraries.resourceloader.Resource resource)
getName
public String getName()
- Specified by:
getName
in interface Encoding
getName
public String getName(Locale locale)
- Specified by:
getName
in interface Encoding
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c)
- Specified by:
isUnicodeCharacterSupported
in interface EncodingCore
getResource
public org.pentaho.reporting.libraries.resourceloader.Resource getResource()
encode
public ByteBuffer encode(CodePointBuffer text,
ByteBuffer buffer)
throws EncodingException
- Description copied from interface:
EncodingCore
- Encode, but ignore errors.
- Specified by:
encode
in interface EncodingCore
- Returns:
-
- Throws:
EncodingException
encode
public ByteBuffer encode(CodePointBuffer text,
ByteBuffer buffer,
EncodingErrorType errorHandling)
throws EncodingException
- Specified by:
encode
in interface EncodingCore
- Throws:
EncodingException
decode
public CodePointBuffer decode(ByteBuffer text,
CodePointBuffer buffer)
throws EncodingException
- Specified by:
decode
in interface EncodingCore
- Throws:
EncodingException
decode
public CodePointBuffer decode(ByteBuffer text,
CodePointBuffer buffer,
EncodingErrorType errorHandling)
throws EncodingException
- Specified by:
decode
in interface EncodingCore
- Throws:
EncodingException