public class FNI_FontIndex extends StructuredField
| Modifier and Type | Class and Description |
|---|---|
static class |
FNI_FontIndex.FNI_RepeatingGroup |
| Constructor and Description |
|---|
FNI_FontIndex() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepeatingGroup(FNI_FontIndex.FNI_RepeatingGroup repeatinGroup)
Adds the given
FNI_FontIndex.FNI_RepeatingGroup to the list of repeating groups and orders the list
by FNI_FontIndex.FNI_RepeatingGroup.graphicCharacterGlobalID_GCGID. |
void |
decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
Decodes the given AFP data.
Parameter length specifies the length in bytes of the data to be decoded, beginning with position offset. |
java.util.List<FNI_FontIndex.FNI_RepeatingGroup> |
getRepeatingGroups()
Returns the list of
FNI_FontIndex.FNI_RepeatingGroups. |
void |
setRepeatingGroups(java.util.List<FNI_FontIndex.FNI_RepeatingGroup> repeatingGroups)
Set the list of
FNI_FontIndex.FNI_RepeatingGroups. |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
checkDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldpublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteabledecodeAFP in class StructuredFieldsfData - contains the AFP data to decode.offset - the byte index position where the decoding should start.length - the length in bytes of the data to be decoded, beginning with position offset.config - contains parameter used for decoding.AFPParserException - if the given AFP data are invalid.public void writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
throws java.io.IOException
IAFPDecodeableWriteablewriteAFP in interface IAFPDecodeableWriteablewriteAFP in class StructuredFieldos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public java.util.List<FNI_FontIndex.FNI_RepeatingGroup> getRepeatingGroups()
FNI_FontIndex.FNI_RepeatingGroups. The returning list is ordered by FNI_FontIndex.FNI_RepeatingGroup.graphicCharacterGlobalID_GCGID.FNI_FontIndex.FNI_RepeatingGroups.public void setRepeatingGroups(java.util.List<FNI_FontIndex.FNI_RepeatingGroup> repeatingGroups)
FNI_FontIndex.FNI_RepeatingGroups. Orderes the given list by FNI_FontIndex.FNI_RepeatingGroup.graphicCharacterGlobalID_GCGID.repeatingGroups - list of FNI_FontIndex.FNI_RepeatingGroups.public void addRepeatingGroup(FNI_FontIndex.FNI_RepeatingGroup repeatinGroup)
FNI_FontIndex.FNI_RepeatingGroup to the list of repeating groups and orders the list
by FNI_FontIndex.FNI_RepeatingGroup.graphicCharacterGlobalID_GCGID.