public final class ExternalEncoding extends Object implements Encoding
| Constructor and Description |
|---|
ExternalEncoding(String name,
EncodingCore core,
org.pentaho.reporting.libraries.resourceloader.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
getName() |
String |
getName(Locale locale) |
org.pentaho.reporting.libraries.resourceloader.Resource |
getResource() |
boolean |
isUnicodeCharacterSupported(int c) |
public ExternalEncoding(String name, EncodingCore core, org.pentaho.reporting.libraries.resourceloader.Resource resource)
public boolean isUnicodeCharacterSupported(int c)
isUnicodeCharacterSupported in interface EncodingCorepublic org.pentaho.reporting.libraries.resourceloader.Resource getResource()
public ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer) throws EncodingException
EncodingCoreencode in interface EncodingCoreEncodingExceptionpublic ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
encode in interface EncodingCoreEncodingExceptionpublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer) throws EncodingException
decode in interface EncodingCoreEncodingExceptionpublic CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException
decode in interface EncodingCoreEncodingException