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.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0

Method Summary
 ILibrary getConfigurationLibrary()
          Return the library that provides the configuration for this device or null if no such library can be found.
 IPreverifier getPreverifier()
          Return the preverifier to be used to preverify classes for this device.
 ILibrary getProfileLibrary()
          Return the library that provides the profile for this device or null if no such library can be found.
 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, getDeviceProperties, getLaunchCommand, getName, getSDKName, isDebugServer, setName
 
Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable
loadUsing, storeUsing
 

Method Detail

getConfigurationLibrary

ILibrary getConfigurationLibrary()
Return the library that provides the configuration for this device or null if no such library can be found.

Returns:

getPreverifier

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

Returns:
the platform's preverifier

getProfileLibrary

ILibrary getProfileLibrary()
Return the library that provides the profile for this device or null if no such library can be found.

Returns:

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:

Mobile Tools for Java
Release 1.0