|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Field
An interface which describes a region of an unspecified byte array. A Field may be used to access a data element stored at the same offset in many different byte arrays. Multiple Field instances can be used to create a template for mapping a record. For this reason, Field objects are often stored as static (class) variables in a record-mapping class.
Field objects are often constructed by a
DatatypeFactory, which builds consecutive fields at adjoining
offsets in a template record.
| Method Summary | |
|---|---|
int |
getByteLength()
Answer the length of the field described by the receiver |
int |
getOffset()
Answer the offset of this field into some array of bytes |
void |
setOffset(int offset)
|
| Method Detail |
|---|
int getByteLength()
int getOffset()
void setOffset(int offset)
getOffset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||