org.pentaho.reporting.libraries.fonts.encoding.manual

Class BuiltInJavaEncoding

public class BuiltInJavaEncoding extends Object implements Encoding

Constructor Summary
BuiltInJavaEncoding(String name, boolean fastMode)
Method Summary
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)
booleanisUnicodeCharacterSupported(int c)

Constructor Detail

BuiltInJavaEncoding

public BuiltInJavaEncoding(String name, boolean fastMode)

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, but ignore errors.

Parameters: text buffer

Returns:

encode

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

getName

public String getName()

getName

public String getName(Locale locale)

isUnicodeCharacterSupported

public boolean isUnicodeCharacterSupported(int c)