JUMPPreferencesModule provides the ability to maintain a set of
persistent preferences, in the form of key-value pairs. This class can be
viewed as encapsulating a namespace of key-value pairs.
An implementation is free to commit the set of preferences to permanent
store when it chooses, allowing in-memory caching if necessary. The use of
the save() method is recommended to force persistence of this
JUMPPreferencesModule.
Preference namespaces retain their contents across runs of the
device. So upon initialization, a JUMPPreferencesModule instance of a given
type name is expected to re-construct its latest known saved state.
|