org.pentaho.reporting.libraries.fonts.encoding
Interface EncodingCore

All Known Subinterfaces:
ComplexEncoding, Encoding
All Known Implementing Classes:
Ascii, BuiltInJavaEncoding, External8BitEncodingCore, ExternalEncoding, Iso8859_1, Utf16LE

public interface EncodingCore

Creation-Date: 29.04.2006, 14:57:44

Author:
Thomas Morgner

Method Summary
 CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer)
           
 CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)
           
 ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer)
          Encode, but ignore errors.
 ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling)
           
 boolean isUnicodeCharacterSupported(int c)
           
 

Method Detail

isUnicodeCharacterSupported

boolean isUnicodeCharacterSupported(int c)

encode

ByteBuffer encode(CodePointBuffer text,
                  ByteBuffer buffer)
                  throws EncodingException
Encode, but ignore errors.

Parameters:
text -
buffer -
Returns:
Throws:
EncodingException

decode

CodePointBuffer decode(ByteBuffer text,
                       CodePointBuffer buffer)
                       throws EncodingException
Throws:
EncodingException

encode

ByteBuffer encode(CodePointBuffer text,
                  ByteBuffer buffer,
                  EncodingErrorType errorHandling)
                  throws EncodingException
Throws:
EncodingException

decode

CodePointBuffer decode(ByteBuffer text,
                       CodePointBuffer buffer,
                       EncodingErrorType errorHandling)
                       throws EncodingException
Throws:
EncodingException