SunSPOT host API V3.0


com.sun.spot.client
Class SpotPropertiesManager

java.lang.Object
  extended by com.sun.spot.client.SpotPropertiesManager

public class SpotPropertiesManager
extends Object

SpotPropertiesManager manages the retrieval and setting of the persistent system properties on the SPOT.


Constructor Summary
SpotPropertiesManager(ISpotManager spotManager)
          Construct a SpotPropertiesManager
 
Method Summary
 Properties getProperties()
          Answer a Properties containing all the persistent system properties from the SPOT.
 void setProperties(Properties systemProperties)
          Replace the persistent system properties stored on the SPOT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotPropertiesManager

public SpotPropertiesManager(ISpotManager spotManager)
Construct a SpotPropertiesManager

Parameters:
spotManager -
Method Detail

getProperties

public Properties getProperties()
                         throws IOException
Answer a Properties containing all the persistent system properties from the SPOT.

Returns:
The persistent system properties from the SPOT.
Throws:
IOException

setProperties

public void setProperties(Properties systemProperties)
                   throws IOException
Replace the persistent system properties stored on the SPOT.

Parameters:
systemProperties - a Properties to replace the properties currently stored on the SPOT.
Throws:
IOException

SunSPOT host API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.