Package | Description |
---|---|
javax.microedition.rms |
[OPTIONAL] Mechanism for applications to persistently store data and later
retrieve it.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordStore.deleteRecord(int recordId)
The record is deleted from the record store.
|
byte[] |
RecordStore.getRecord(int recordId)
Returns a copy of the data stored in the given record.
|
int |
RecordStore.getRecord(int recordId,
byte[] buffer,
int offset)
Returns the data stored in the given record.
|
int |
RecordStore.getRecordSize(int recordId)
Returns the size (in bytes) of the application data available
in the given record.
|
int |
RecordStore.getTag(int recordId)
Returns the tag associated with the
recordId . |
byte[] |
RecordEnumeration.nextRecord()
Returns a copy of the next record in this enumeration, where
next is defined by the comparator and/or filter supplied in
the constructor of this enumerator.
|
int |
RecordEnumeration.nextRecordId()
Returns the recordId of the next record in this enumeration,
where next is defined by the comparator and/or filter supplied
in the constructor of this enumerator.
|
byte[] |
RecordEnumeration.previousRecord()
Returns a copy of the previous record in this enumeration,
where previous is defined by the comparator and/or filter
supplied in the constructor of this enumerator.
|
int |
RecordEnumeration.previousRecordId()
Returns the recordId of the previous record in this
enumeration, where previous is defined by the comparator
and/or filter supplied in the constructor of this enumerator.
|
void |
RecordStore.setRecord(int recordId,
byte[] newData,
int offset,
int numBytes)
Sets the data in the given record to the provided new data.
|
void |
RecordStore.setRecord(int recordId,
byte[] newData,
int offset,
int numBytes,
int tag)
Sets the data in the given record to the provided new data.
|
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.