|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--java.util.Properties | +--jade.util.leap.Properties
The LEAP (environment-dependent) version of the &qote;java.util.Properties&qote; class.
This class appears to be exactly the same in J2SE, PJAVA and MIDP.
The internal implementation is different in the three cases however.
In particular the J2SE and PJAVA implementation simply extend
java.util.Properties.
In particular the MIDP version re-implement the load and store
methods to access properties from
the .jad file of the midlet or from a properly formatted
RecordStore (see the load()
and store
methods.
Field Summary |
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
Properties()
Default constructor. |
Method Summary | |
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. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Properties()
Method Detail |
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.IOException
public void store(java.lang.String storage) throws java.io.IOException
storage
.
In a MIDP environment it is a RecordStore called
storage
.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |