org.pentaho.reporting.libraries.fonts.encoding

Class ExternalEncoding

public final class ExternalEncoding extends Object implements Encoding

Creation-Date: 29.04.2006, 14:49:06

Author: Thomas Morgner

Constructor Summary
ExternalEncoding(String name, EncodingCore core, Resource resource)
Method Summary
CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer)
CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)
ByteBufferencode(CodePointBuffer text, ByteBuffer buffer)
ByteBufferencode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling)
StringgetName()
StringgetName(Locale locale)
ResourcegetResource()
booleanisUnicodeCharacterSupported(int c)

Constructor Detail

ExternalEncoding

public ExternalEncoding(String name, EncodingCore core, Resource resource)

Method Detail

decode

public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)

decode

public CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)

encode

public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)

encode

public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling)

getName

public String getName()

getName

public String getName(Locale locale)

getResource

public Resource getResource()

isUnicodeCharacterSupported

public boolean isUnicodeCharacterSupported(int c)