public class Properties extends java.util.Properties implements Serializable
load() and store
methods.| Constructor and Description |
|---|
Properties()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
load(java.lang.String storage)
Load a set of key-value pairs from a given storage element.
|
void |
store(java.lang.String storage)
Store the set of key-value pairs held by this Properties object
into a given storage element.
|
static Properties |
toLeapProperties(java.util.Properties pp) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, 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, valuespublic static Properties toLeapProperties(java.util.Properties pp)
public void load(java.lang.String storage)
throws java.io.IOException
storage.
In a MIDP environment it can be the JAD of the MIDlet
(if storage = "jad") or a RecordStore called
storage.java.io.IOExceptionpublic void store(java.lang.String storage)
throws java.io.IOException
storage.
In a MIDP environment it is a RecordStore called
storage.java.io.IOException