|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FieldReader.IFieldReaderTask
A visitor that is invoked for every component spec found during the
header parsing of the
FieldReader#readIWFFieldSpecs(byte[], int, int, int, int, IFieldReaderTask)
and
FieldReader#readSWFFieldSpecs(byte[], int, int, int, int, IFieldReaderTask)
methods. The reader task should construct or update the appropriate
IComponent
represented by the component spec and data.
Method Summary | |
---|---|
void |
read(IOperationScope scope,
int fieldId,
byte[] dataBuffer,
int dataStart,
int dataLen)
Handle reading the integer wire format component identified by component id. |
void |
read(IOperationScope scope,
String fieldId,
byte[] dataBuffer,
int dataStart,
int dataLen)
Handle reading the string wire format component identified by component id. |
Method Detail |
---|
void read(IOperationScope scope, int fieldId, byte[] dataBuffer, int dataStart, int dataLen)
scope
- the scope of the read state operationfieldId
- the integer identity of the component.dataBuffer
- the buffer holding the data for the componentdataStart
- the position in the buffer where the data startsdataLen
- the number of bytes for the datavoid read(IOperationScope scope, String fieldId, byte[] dataBuffer, int dataStart, int dataLen)
scope
- the scope of the read state operationfieldId
- the string identity of the component.dataBuffer
- the buffer holding the data for the componentdataStart
- the position in the buffer where the data startsdataLen
- the number of bytes for the data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |