SunSPOT host API V4.0


com.sun.spot.client.command
Class GetStartupCommand.Result

java.lang.Object
  extended by com.sun.spot.client.command.GetStartupCommand.Result
All Implemented Interfaces:
Serializable
Enclosing class:
GetStartupCommand

public static class GetStartupCommand.Result
extends Object
implements Serializable

Result of GetStartupCommand.

See Also:
Serialized Form

Method Summary
 String getClassName()
           
 int getMidletNumber()
           
 String getUri()
           
 boolean isRunningMidlet()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getUri

public String getUri()
Returns:
the startup uri

isRunningMidlet

public boolean isRunningMidlet()
Returns:
true if the spot will run a midlet at startup, otherwise false.

getMidletNumber

public int getMidletNumber()
Returns:
the startup midlet if the spot is running a midlet at startup.
Throws:
IllegalStateException - if the spot is running a class at startup

getClassName

public String getClassName()
Returns:
the classname if the spot is running a class at startup.
Throws:
IllegalStateException - if the spot is running a midlet at startup

toString

public String toString()
Overrides:
toString in class Object

SunSPOT host API V4.0


Copyright © 2006-2008 Sun Microsystems, Inc. All Rights Reserved.