|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.charset.CFFCharset
public abstract class CFFCharset
This is the superclass for all CFFFont charsets.
Nested Class Summary | |
---|---|
static class |
CFFCharset.Entry
This class represents a single SID/name mapping of the charset. |
Constructor Summary | |
---|---|
CFFCharset()
|
Method Summary | |
---|---|
void |
addEntry(CFFCharset.Entry entry)
Add a single entry. |
List<CFFCharset.Entry> |
getEntries()
A list of all entries within this charset. |
String |
getName(int sid)
Returns the name corresponding to the given SID. |
int |
getSID(String name)
Returns the SID corresponding to the given name. |
boolean |
isFontSpecific()
Determines if the charset is font specific or not. |
void |
register(int sid,
String name)
Adds a new SID/name combination to the charset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFFCharset()
Method Detail |
---|
public boolean isFontSpecific()
public int getSID(String name)
name
- the given SID
public String getName(int sid)
sid
- the given SID
public void register(int sid, String name)
sid
- the given SIDname
- the given namepublic void addEntry(CFFCharset.Entry entry)
entry
- the entry to be addedpublic List<CFFCharset.Entry> getEntries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |