站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Wireless Java Developing with J2ME, Second Edition

Summary - Wireless Java Developing with J2ME, Second Edition

Previous Section Next Section

Summary

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.


Previous Section Next Section