public class Properties extends Properties implements Serializable
load()
and store
methods.Modifier and Type | Field and Description |
---|---|
private static String |
HEADER |
private static long |
serialVersionUID
This is required to ensure compatibility with
the J2ME version of this class in serialization/deserialization
operations.
|
defaults
Constructor and Description |
---|
Properties()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
load(String storage)
Load a set of key-value pairs from a given storage element.
|
void |
store(String storage)
Store the set of key-value pairs held by this Properties object
into a given storage element.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
private static final long serialVersionUID
private static final String HEADER
public void load(String storage) throws IOException
storage
.
In a MIDP environment it can be the JAD of the MIDlet
(if storage
= "jad") or a RecordStore called
storage
.IOException
public void store(String storage) throws IOException
storage
.
In a MIDP environment it is a RecordStore called
storage
.IOException