org.pentaho.reporting.libraries.fonts.encoding.manual
Class BuiltInJavaEncoding
java.lang.Object
org.pentaho.reporting.libraries.fonts.encoding.manual.BuiltInJavaEncoding
- All Implemented Interfaces:
- Encoding, EncodingCore
public class BuiltInJavaEncoding
- extends java.lang.Object
- implements Encoding
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuiltInJavaEncoding
public BuiltInJavaEncoding(java.lang.String name,
boolean fastMode)
decode
public CodePointBuffer decode(ByteBuffer text,
CodePointBuffer buffer)
throws EncodingException
- Specified by:
decode
in interface EncodingCore
- Throws:
EncodingException
decode
public CodePointBuffer decode(ByteBuffer text,
CodePointBuffer buffer,
EncodingErrorType errorHandling)
throws EncodingException
- Specified by:
decode
in interface EncodingCore
- Throws:
EncodingException
encode
public ByteBuffer encode(CodePointBuffer text,
ByteBuffer buffer)
throws EncodingException
- Encode, but ignore errors.
- Specified by:
encode
in interface EncodingCore
- Parameters:
text
- buffer
-
- Returns:
-
- Throws:
EncodingException
encode
public ByteBuffer encode(CodePointBuffer text,
ByteBuffer buffer,
EncodingErrorType errorHandling)
throws EncodingException
- Specified by:
encode
in interface EncodingCore
- Throws:
EncodingException
getName
public java.lang.String getName()
- Specified by:
getName
in interface Encoding
getName
public java.lang.String getName(java.util.Locale locale)
- Specified by:
getName
in interface Encoding
isUnicodeCharacterSupported
public boolean isUnicodeCharacterSupported(int c)
- Specified by:
isUnicodeCharacterSupported
in interface EncodingCore