| java.lang.Object com.sun.midp.midletsuite.SuiteProperties
SuiteProperties | public class SuiteProperties (Code) | | The properties for the suite.
|
Constructor Summary | |
| SuiteProperties(int id) Package private constructor for SuiteProperties. |
SuiteProperties | SuiteProperties(int id)(Code) | | Package private constructor for SuiteProperties.
Parameters: id - of the suite for these settings |
getProperty | public String getProperty(String key)(Code) | | Gets a property of the suite. A property is an attribute from
either the application descriptor or JAR Manifest.
Parameters: key - the name of the property A string with the value of the property.null is returned if no value is available forthe key. |
getSuiteId | public int getSuiteId()(Code) | | Gets the unique ID of the suite.
suite ID |
load | native String[] load() throws IOException(Code) | | Gets the suite properties from persistent store. Returns the
properties as an array of strings: key0, value0, key1, value1, etc.
an array of property key-value pairs throws: IOException - if an IO error occurs |
loadProperties | void loadProperties()(Code) | | Loads suite properties from persistent storage into a properties
object. If an IOException occurs, simply leaves the properties object
empty.
|
setTempProperty | public void setTempProperty(String key, String value)(Code) | | Replace or add a property to the suite for this run only.
Parameters: key - the name of the property Parameters: value - the value of the property exception: SecurityException - if the calling suite does not haveinternal API permission |
|
|