com.sun.spot.client.command
Class GetStartupCommand.Result
java.lang.Object
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
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
Copyright © 2006-2008 Sun Microsystems, Inc. All Rights Reserved.