Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model.device
Class DeviceFactory

java.lang.Object
  extended by org.eclipse.mtj.core.model.device.DeviceFactory

public class DeviceFactory
extends Object

The device factory allows access to creation of devices based on the available registered device importers.


Field Summary
static String EXT_DEVICE_IMPORTERS
          The extension point for use in registering new device importers.
 
Method Summary
static void findDevices(File directory, IFoundDevicesList foundDevices, IProgressMonitor monitor)
          Return all devices that can be found in the specified directory or any subdirectories.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXT_DEVICE_IMPORTERS

public static final String EXT_DEVICE_IMPORTERS
The extension point for use in registering new device importers.

See Also:
Constant Field Values
Method Detail

findDevices

public static void findDevices(File directory,
                               IFoundDevicesList foundDevices,
                               IProgressMonitor monitor)
                        throws CoreException,
                               InterruptedException
Return all devices that can be found in the specified directory or any subdirectories. This method will consult all registered IDeviceImporter implementations that have been registered with the system.

Parameters:
directory -
foundDevices -
monitor -
Throws:
CoreException
InterruptedException - if the user cancels the operation

Mobile Tools for Java
Release 1.0