Basic Functionality of the Class RecordStore

Record stores are represented in the RMS API by the class RecordStore. The RecordStore class provides methods to open, close, read, and manipulate the record store. It also provides access to meta-information such as the number of records and the memory space still available and currently consumed.

Global Record Store Methods and Exceptions

An instance of the RecordStore class, representing a single record store, can be obtained via the static method openRecordStore(). The method call requires two parameters: the name of the RecordStore and a flag specifying whether the RecordStore should be created if it does not exist yet. The name of the record store should be a String consisting of no more than ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.