public class PFC_PresentationFidelityControl extends StructuredFieldBaseTriplets
| Modifier and Type | Class and Description |
|---|---|
static class |
PFC_PresentationFidelityControl.PFC_Flag |
triplets| Constructor and Description |
|---|
PFC_PresentationFidelityControl() |
| Modifier and Type | Method and Description |
|---|---|
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. |
PFC_PresentationFidelityControl.PFC_Flag |
getFlag() |
byte |
getReserved0() |
byte[] |
getReserved2_3() |
void |
setFlag(PFC_PresentationFidelityControl.PFC_Flag flag) |
void |
setReserved0(byte reserved0) |
void |
setReserved2_3(byte[] reserved2_3) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
addTriplet, getTriplets, removeTriplet, setTripletscheckDataLength, 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 StructuredFieldBaseTripletssfData - 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 StructuredFieldBaseTripletsos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public byte getReserved0()
public void setReserved0(byte reserved0)
public PFC_PresentationFidelityControl.PFC_Flag getFlag()
public void setFlag(PFC_PresentationFidelityControl.PFC_Flag flag)
public byte[] getReserved2_3()
public void setReserved2_3(byte[] reserved2_3)