The MIDP API for persistent storage is deliberately abstract in recognition that small devices will likely have many different methods for storing data. In MIDP, the central concept for persistent storage is the record store, which is a collection of bits of data called records. A record store is really a tiny database, but the details of exactly how it is stored are left to the device implementation. The javax.microedition.rms.RecordStore class encapsulates all access to persistent storage. It provides methods for accessing and manipulating RecordStores, as well as methods for working with individual records. For more advanced RecordStore work, methods and interfaces exist to help keep track of changes to a RecordStore or to perform RecordStore queries.
Team-Fly |