Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.sdk.device.midp
Enum MIDPAPIType


java.lang.Object
  extended by 

java.lang.Enum<
MIDPAPIType>
      extended by 
org.eclipse.mtj.core.sdk.device.midp.MIDPAPIType
All Implemented Interfaces:
Serializable, Comparable< MIDPAPIType>

public enum MIDPAPIType
extends Enum< MIDPAPIType>

This enumeration represents the four types of IMIDPAPI possible.

Since:
1.0

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

CONFIGURATION

public static final 
MIDPAPIType CONFIGURATION
A configuration provides the most basic set of libraries and virtual machine capabilities for a broad range of devices.


PROFILE

public static final 
MIDPAPIType PROFILE
A profile is a set of APIs that support a narrower range of devices.


OPTIONAL

public static final 
MIDPAPIType OPTIONAL
An optional package is a set of technology-specific APIs.


UNKNOWN

public static final 
MIDPAPIType UNKNOWN
An Unknown type of MIDPAPI.

Method Detail

values

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

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

valueOf

public static 
MIDPAPIType 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
NullPointerException - if the argument is null

getTypecode

public int getTypecode()
Returns the numerical code that represents this type.

Returns:
the numerical code that represents this type.

toString

public 
String toString()
Overrides:
toString in class Enum< MIDPAPIType>

getMIDPAPITypeByCode

public static 
MIDPAPIType getMIDPAPITypeByCode(int code)
Return a MIDPAPIType associated with the informed code

Parameters:
code - the code that represents an specific MIDPAPIType instance.
Returns:
the MIDPAPIType instance associated with the informed code.

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire