public class IdentityCMap extends CMap
CMap.MetaClass| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_Identity_H |
static COSName |
CN_Identity_V |
static IdentityCMap |
SINGLETON |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getChars(int codepoint)
Get the char[] for the codepoint or null if not available.
|
int |
getDecoded(int value)
Get the character for the codepoint or -1 if not available.
|
int |
getEncoded(int character)
Get the codepoint for the the character or -1 if invalid.
|
int |
getNextDecoded(InputStream is)
Get the next decoded character from the input stream.
|
int |
getNextEncoded(InputStream is)
The next codepoint from the input stream.
|
static CMap |
getSingleton(COSName name) |
void |
putNextDecoded(OutputStream os,
int character)
Put the next character onto the input stream after encoding.
|
void |
putNextEncoded(OutputStream os,
int codepoint)
Put the next codepoint onto the input stream.
|
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 COSName CN_Identity_H
public static final COSName CN_Identity_V
public static IdentityCMap SINGLETON
public char[] getChars(int codepoint)
CMappublic int getDecoded(int value)
CMapgetDecoded in class CMapvalue - The codepointpublic int getEncoded(int character)
CMapgetEncoded in class CMapcharacter - The character to look up.public int getNextDecoded(InputStream is) throws IOException
CMapgetNextDecoded in class CMapis - The input stream with encoded data.IOExceptionpublic int getNextEncoded(InputStream is) throws IOException
CMapgetNextEncoded in class CMapis - The input stream with encoded data.IOExceptionpublic void putNextDecoded(OutputStream os, int character) throws IOException
CMapputNextDecoded in class CMapos - The stream to write the bytes.character - The character to be encoded.IOExceptionpublic void putNextEncoded(OutputStream os, int codepoint) throws IOException
CMapputNextEncoded in class CMapos - The stream to write the bytes.codepoint - The codepoint.IOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.