Mobile Tools for Java
Release 1.0

org.eclipse.mtj.toolkit.uei.model
Enum EmulatorInfoArgs

java.lang.Object
  extended by java.lang.Enum<EmulatorInfoArgs>
      extended by org.eclipse.mtj.toolkit.uei.model.EmulatorInfoArgs
All Implemented Interfaces:
Serializable, Comparable<EmulatorInfoArgs>

public enum EmulatorInfoArgs
extends Enum<EmulatorInfoArgs>

The emulator command support several arguments that provide information about the emulator itself.

Since:
0.9.1

Enum Constant Summary
VERSION
          Display version information about the emulator.
XQUERY
          Print emulator device information to the standard output and immediately exit.
 
Method Summary
 String toString()
          Returns the command string represented by this enum constant.
static EmulatorInfoArgs valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmulatorInfoArgs[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VERSION

public static final EmulatorInfoArgs VERSION
Display version information about the emulator. The first line is the emulator name and version. Subsequent lines are key and value pairs separated by a single colon and a single space. The valid keys and their values are as follows:


XQUERY

public static final EmulatorInfoArgs XQUERY
Print emulator device information to the standard output and immediately exit. Printed information includes, but is not limited to, device names, device screen size, and other device capabilities.

Method Detail

values

public static final EmulatorInfoArgs[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(EmulatorInfoArgs c : EmulatorInfoArgs.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static EmulatorInfoArgs valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

toString

public String toString()
Returns the command string represented by this enum constant.

Overrides:
toString in class Enum<EmulatorInfoArgs>
Returns:
the command represented by this enum constant
See Also:
Enum.toString()

Mobile Tools for Java
Release 1.0