|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.opt.iso.fs.CardRecord
public class CardRecord
The CardRecord class is used by the CardRandomRecordAccess and CardRandomByteAccess classes. Essentially, it just is an encapsulation of a byte array.
CardRandomRecordAccess
,
CardRandomByteAccess
Field Summary | |
---|---|
protected byte[] |
record
The underlying byte array. |
Constructor Summary | |
---|---|
CardRecord(byte[] b)
Instantiate a CardRecord using an already allocated byte array. |
|
CardRecord(int size)
Instantiate an empty CardRecord. |
Method Summary | |
---|---|
byte[] |
bytes()
Return the bytes contained in the record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected byte[] record
Constructor Detail |
---|
public CardRecord(int size)
size
- The size of the new CardRecord.public CardRecord(byte[] b)
b
- The byte array to use for the CardRecord.Method Detail |
---|
public byte[] bytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |