|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.IndexData
public class IndexData
Class holding the IndexData of a CFF font.
Constructor Summary | |
---|---|
IndexData(int count)
Constructor. |
Method Summary | |
---|---|
byte[] |
getBytes(int index)
|
int |
getCount()
Returns the count value. |
int |
getOffset(int index)
Returns the offset at the given index. |
void |
initData(int dataSize)
Initializes the data array with the given size. |
void |
setData(int index,
int value)
Sets the data value to the given value. |
void |
setOffset(int index,
int value)
Sets the offset value to the given value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexData(int count)
count
- number of index valuesMethod Detail |
---|
public byte[] getBytes(int index)
public String toString()
toString
in class Object
public int getCount()
public void setOffset(int index, int value)
index
- the index of the offset valuevalue
- the given offset valuepublic int getOffset(int index)
index
- the index
public void initData(int dataSize)
dataSize
- the size of the data arraypublic void setData(int index, int value)
index
- the index of the data valuevalue
- the given data value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |