|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.encoding.Encoding
This is an interface to a text encoder.
| Constructor Summary | |
Encoding()
|
|
| Method Summary | |
static String |
getCharacter(COSName name)
This will get the character from the name. |
String |
getCharacter(int code)
This will get the character from the code. |
int |
getCode(COSName name)
This will get the character code for the name. |
COSName |
getName(int code)
This will take a character code and get the name from the code. |
COSName |
getNameFromCharacter(char c)
This will take a character code and get the name from the code. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pdfbox.pdmodel.common.COSObjectable |
getCOSObject |
| Constructor Detail |
public Encoding()
| Method Detail |
public int getCode(COSName name)
throws IOException
name - The name of the character.
IOException - If there is no character code for the name.
public COSName getName(int code)
throws IOException
code - The character code.
IOException - If there is no name for the code.
public COSName getNameFromCharacter(char c)
throws IOException
c - The character.
IOException - If there is no name for the character.
public String getCharacter(int code)
throws IOException
code - The character code.
IOException - If there is not name for the character.public static String getCharacter(COSName name)
name - The name of the character.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||