|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.encoding.CFFEncoding
public abstract class CFFEncoding
This is the superclass for all CFFFont encodings.
Constructor Summary | |
---|---|
CFFEncoding()
|
Method Summary | |
---|---|
int |
getCode(int sid)
Returns the code corresponding to the given SID. |
Iterator<Integer> |
getCodes()
Returns an iterator for all codes of this encoding. |
int |
getSID(int code)
Returns the SID corresponding to the given code. |
boolean |
isFontSpecific()
Determines if the encoding is font specific or not. |
void |
register(int code,
int sid)
Adds a new code/SID combination to the encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFFEncoding()
Method Detail |
---|
public boolean isFontSpecific()
public int getCode(int sid)
sid
- the given SID
public int getSID(int code)
code
- the given code
public void register(int code, int sid)
code
- the given codesid
- the given SIDpublic Iterator<Integer> getCodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |