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
-
-
Constructor Summary
Constructors Constructor Description ExternalEncoding(String name, EncodingCore core, org.pentaho.reporting.libraries.resourceloader.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer)CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)ByteBufferencode(CodePointBuffer text, ByteBuffer buffer)Encode, but ignore errors.ByteBufferencode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling)StringgetName()StringgetName(Locale locale)org.pentaho.reporting.libraries.resourceloader.ResourcegetResource()booleanisUnicodeCharacterSupported(int c)
-
-
-
Constructor Detail
-
ExternalEncoding
public ExternalEncoding(String name, EncodingCore core, org.pentaho.reporting.libraries.resourceloader.Resource resource)
-
-
Method Detail
-
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c)
- Specified by:
isUnicodeCharacterSupportedin interfaceEncodingCore
-
getResource
public org.pentaho.reporting.libraries.resourceloader.Resource getResource()
-
encode
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer) throws EncodingException
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
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer) throws EncodingException
- Specified by:
decodein interfaceEncodingCore- Throws:
EncodingException
-
decode
public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
- Specified by:
decodein interfaceEncodingCore- Throws:
EncodingException
-
-