|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.font.CMap
de.intarsys.pdf.font.IdentityCMap
public class IdentityCMap
The generic 2 byte identity mapping (Identity-H and Identity-V).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.intarsys.pdf.font.CMap |
|---|
CMap.MetaClass |
| Field Summary | |
|---|---|
static COSName |
CN_Identity_H
|
static COSName |
CN_Identity_V
|
static IdentityCMap |
SINGLETON
|
| Fields inherited from class de.intarsys.pdf.font.CMap |
|---|
META |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class de.intarsys.pdf.font.CMap |
|---|
toInt, toInt |
| Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
|---|
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, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final COSName CN_Identity_H
public static final COSName CN_Identity_V
public static IdentityCMap SINGLETON
| Method Detail |
|---|
public static CMap getSingleton(COSName name)
public char[] getChars(int codepoint)
CMap
getChars in class CMapcodepoint - The codepoint
public int getDecoded(int value)
CMap
getDecoded in class CMapvalue - The codepoint
public int getEncoded(int character)
CMap
getEncoded in class CMapcharacter - The character to look up.
public int getNextDecoded(InputStream is)
throws IOException
CMap
getNextDecoded in class CMapis - The input stream with encoded data.
IOException
public int getNextEncoded(InputStream is)
throws IOException
CMap
getNextEncoded in class CMapis - The input stream with encoded data.
IOException
public void putNextDecoded(OutputStream os,
int character)
throws IOException
CMap
putNextDecoded in class CMapos - The stream to write the bytes.character - The character to be encoded.
IOException
public void putNextEncoded(OutputStream os,
int codepoint)
throws IOException
CMap
putNextEncoded in class CMapos - The stream to write the bytes.codepoint - The codepoint.
IOException
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||