org.microemu.app.util
Class MIDletSystemProperties

java.lang.Object
  extended by org.microemu.app.util.MIDletSystemProperties

public class MIDletSystemProperties
extends java.lang.Object

Author:
vlads This class is called by MIDlet to access System Property. Call injection is made by MIDlet ClassLoaded

Field Summary
static boolean applyToJavaSystemProperties
          This may be a configuration option.
 
Constructor Summary
MIDletSystemProperties()
           
 
Method Summary
static java.lang.String clearProperty(java.lang.String key)
           
static java.util.Set getPropertiesSet()
           
static java.lang.String getProperty(java.lang.String key)
          Gets the system property indicated by the specified key.
static java.lang.String getSystemProperty(java.lang.String key)
           
static void initContext()
          Allow Access to system properties from MIDlet
static void setDevice(org.microemu.device.Device newDevice)
           
static void setProperties(java.util.Map properties)
           
static java.lang.String setProperty(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applyToJavaSystemProperties

public static boolean applyToJavaSystemProperties
This may be a configuration option. But not for applet and Web Start.

Constructor Detail

MIDletSystemProperties

public MIDletSystemProperties()
Method Detail

initContext

public static void initContext()
Allow Access to system properties from MIDlet


getProperty

public static java.lang.String getProperty(java.lang.String key)
Gets the system property indicated by the specified key. The only function called by MIDlet

Parameters:
key - the name of the system property
Returns:

getSystemProperty

public static java.lang.String getSystemProperty(java.lang.String key)

getPropertiesSet

public static java.util.Set getPropertiesSet()

setProperty

public static java.lang.String setProperty(java.lang.String key,
                                           java.lang.String value)

clearProperty

public static java.lang.String clearProperty(java.lang.String key)

setProperties

public static void setProperties(java.util.Map properties)

setDevice

public static void setDevice(org.microemu.device.Device newDevice)


Copyright © 2001-2008 MicroEmulator Team. All Rights Reserved.