Package | Description |
---|---|
javax.microedition.rms |
[OPTIONAL] Mechanism for applications to persistently store data and later
retrieve it.
|
Modifier and Type | Method and Description |
---|---|
int |
RecordStore.addRecord(byte[] data,
int offset,
int numBytes)
Adds a new record to the record store, and returns the
recordId
for this new record. |
int |
RecordStore.addRecord(byte[] data,
int offset,
int numBytes,
int tag)
Adds a new record to the record store, and associates the record with the
given
tag . |
static RecordStore |
RecordStore.openRecordStore(java.lang.String recordStoreName,
boolean createIfNecessary)
Open (and possibly create) a record store associated with the current
application suite.
|
static RecordStore |
RecordStore.openRecordStore(java.lang.String recordStoreName,
boolean createIfNecessary,
int authmode,
boolean writeable)
Open (and possibly create) a record store that can be shared with other
application suites.
|
static RecordStore |
RecordStore.openRecordStore(java.lang.String recordStoreName,
boolean createIfNecessary,
int authmode,
boolean writeable,
java.lang.String password)
Open (and possibly create) a record store that can be shared with other
application suites.
|
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.