|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MIDPAPIType>
org.eclipse.mtj.core.sdk.device.midp.MIDPAPIType
public enum MIDPAPIType
This enumeration represents the four types of IMIDPAPI
possible.
Enum Constant Summary | |
---|---|
CONFIGURATION
A configuration provides the most basic set of libraries and virtual machine capabilities for a broad range of devices. |
|
OPTIONAL
An optional package is a set of technology-specific APIs. |
|
PROFILE
A profile is a set of APIs that support a narrower range of devices. |
|
UNKNOWN
An Unknown type of MIDPAPI . |
Method Summary | |
---|---|
static MIDPAPIType |
getMIDPAPITypeByCode(int code)
Return a MIDPAPIType associated with the informed code |
int |
getTypecode()
Returns the numerical code that represents this type. |
String |
toString()
|
static MIDPAPIType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MIDPAPIType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MIDPAPIType CONFIGURATION
public static final MIDPAPIType PROFILE
public static final MIDPAPIType OPTIONAL
public static final MIDPAPIType UNKNOWN
MIDPAPI
.
Method Detail |
---|
public static MIDPAPIType[] values()
for (MIDPAPIType c : MIDPAPIType.values()) System.out.println(c);
public static MIDPAPIType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getTypecode()
public String toString()
toString
in class Enum<MIDPAPIType>
public static MIDPAPIType getMIDPAPITypeByCode(int code)
code
- the code that represents an specific MIDPAPIType
instance.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |