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
Interface IMIDPDevice

All Superinterfaces:
IDevice, IPersistable

public interface IMIDPDevice
extends IDevice

The device interface specifies the representation of an emulated MIDP device.

Since:
1.0

Field Summary
 
Fields inherited from interface org.eclipse.mtj.core.persistence. IPersistable
CLASS_PERSISTABLE_ATTRIBUTE, ID_PERSISTABLE_ATTRIBUTE, KEY_PERSISTABLE_ATTRIBUTE, PROPERTY_PERSISTABLE_ELEMENT, REFID_PERSISTABLE_ATTRIBUTE, VALUE_PERSISTABLE_ATTRIBUTE
 
Method Summary
  IMIDPAPI getCLDCAPI ()
          Return the configured Configuration API for the device instance.
  IMIDPAPI getMIDPAPI ()
          Return the configured Profile API for the device instance.
  IPreverifier getPreverifier ()
          Return the preverifier to be used to preverify classes for running in this device instance.
  String[] getProtectionDomains ()
          Return the list of protection domains specified by this device.
  File getWorkingDirectory ()
          Return the working directory to be used when launching the device emulation.
 
Methods inherited from interface org.eclipse.mtj.core.sdk.device. IDevice
getClasspath, getDescription, getIdentifier, getLaunchCommand, getName, getSDK, getSDKName, getSymbolSet, isDebugServer, setName
 
Methods inherited from interface org.eclipse.mtj.core.persistence. IPersistable
loadUsing, storeUsing
 

Method Detail

getCLDCAPI


IMIDPAPI getCLDCAPI()
Return the configured Configuration API for the device instance.

Returns:
the configured Configuration API for the device instance or null if no Configuration was set.

getPreverifier


IPreverifier getPreverifier()
Return the preverifier to be used to preverify classes for running in this device instance.

If no preverifier was specified for this device, MTJ will try to retrieve an IPreverifier instance using the IDeviceRegistry.getDefaultPreferifier() to be used when preverifing classes for running on this device.

Returns:
the preverifier configured for this device or null if preverifier was previously set.

getMIDPAPI


IMIDPAPI getMIDPAPI()
Return the configured Profile API for the device instance.

Returns:
the configured Profile API for the device instance or null if no Profile was set.

getProtectionDomains


String[] getProtectionDomains()
Return the list of protection domains specified by this device. Returning null from this method will imply that this device does not support protection domains.

Returns:
the list of protection domains or null if the device does not provide any protection domains.

getWorkingDirectory


File getWorkingDirectory()
Return the working directory to be used when launching the device emulation.

Returns:
working directory to be used or null if no working directory is necessary.

Mobile Tools for Java
Release 1.0


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