org.pentaho.reporting.libraries.fonts.encoding
Class External8BitEncodingCore

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.encoding.External8BitEncodingCore
All Implemented Interfaces:
EncodingCore

public final class External8BitEncodingCore
extends Object
implements EncodingCore

This is an autogenerated file. The charset contents of this file have been read from '${source}'. This class supports the encoding '${encoding}'.


Constructor Summary
External8BitEncodingCore(External8BitEncodingData resource)
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

External8BitEncodingCore

public External8BitEncodingCore(External8BitEncodingData resource)
Method Detail

isUnicodeCharacterSupported

public boolean isUnicodeCharacterSupported(int c)
Specified by:
isUnicodeCharacterSupported in interface EncodingCore

encode

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

Specified by:
encode in interface EncodingCore
Parameters:
text -
buffer -
Returns:

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)
Specified by:
decode in interface EncodingCore

decode

public CodePointBuffer decode(ByteBuffer text,
                              CodePointBuffer buffer,
                              EncodingErrorType errorHandling)
Specified by:
decode in interface EncodingCore