public abstract class CMap extends COSBasedObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CMap.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static CMap.MetaClass |
META
The meta class instance
|
| Modifier and Type | Method and Description |
|---|---|
abstract char[] |
getChars(int codepoint)
Get the char[] for the codepoint or null if not available.
|
abstract int |
getDecoded(int codepoint)
Get the character for the codepoint or -1 if not available.
|
abstract int |
getEncoded(int character)
Get the codepoint for the the character or -1 if invalid.
|
abstract int |
getNextDecoded(InputStream is)
Get the next decoded character from the input stream.
|
abstract int |
getNextEncoded(InputStream is)
The next codepoint from the input stream.
|
abstract void |
putNextDecoded(OutputStream os,
int character)
Put the next character onto the input stream after encoding.
|
abstract void |
putNextEncoded(OutputStream os,
int codepoint)
Put the next codepoint onto the input stream.
|
static int |
toInt(byte[] bytes) |
static int |
toInt(byte[] bytes,
int offset,
int length) |
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString, toStringpublic static final CMap.MetaClass META
public static int toInt(byte[] bytes)
public static int toInt(byte[] bytes,
int offset,
int length)
public abstract char[] getChars(int codepoint)
codepoint - The codepointpublic abstract int getDecoded(int codepoint)
codepoint - The codepointpublic abstract int getEncoded(int character)
character - The character to look up.public abstract int getNextDecoded(InputStream is) throws IOException
is - The input stream with encoded data.IOExceptionpublic abstract int getNextEncoded(InputStream is) throws IOException
is - The input stream with encoded data.IOExceptionpublic abstract void putNextDecoded(OutputStream os, int character) throws IOException
os - The stream to write the bytes.character - The character to be encoded.IOExceptionpublic abstract void putNextEncoded(OutputStream os, int codepoint) throws IOException
os - The stream to write the bytes.codepoint - The codepoint.IOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.