|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--brf.j2me.dynaworks.db.RecordField
|
+--brf.j2me.dynaworks.db.BytesField
Field record holding a byte array.
RecordField| Field Summary | |
private byte[] |
content
byte array as field data. |
| Fields inherited from class brf.j2me.dynaworks.db.RecordField |
size |
| Constructor Summary | |
BytesField(int s)
Construct a record field containing a byte array. |
|
| Method Summary | |
boolean |
fromImage(byte[] m)
Convert a byte array into field data. |
byte[] |
getValue()
Pass the bytes to the caller. |
void |
setValue(byte[] data)
Set the content based on input. |
byte[] |
toImage()
Convert the field into a byte array. |
| Methods inherited from class brf.j2me.dynaworks.db.RecordField |
getExpectedSize, getSize |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private byte[] content
| Constructor Detail |
public BytesField(int s)
s - int - size of the array.| Method Detail |
public byte[] getValue()
public void setValue(byte[] data)
data - byte[] - input datapublic byte[] toImage()
toImage in class RecordFieldpublic boolean fromImage(byte[] m)
fromImage in class RecordFieldm - byte[] - input data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||