|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IDeviceFinder
The device finder allows access to device instances available in a specified folder. These devices will be imported using the registered device importers.
Clients may access the IDeviceFinder implementation through the
MTJCore.getDeviceFinder() method.
| Method Summary | |
|---|---|
List<IDevice> |
findDevices(File directory,
IProgressMonitor monitor)
Return all devices that can be found in the specified directory or any sub-directories. |
List<IDevice> |
findDevices(String deviceImporterID,
File directory,
IProgressMonitor monitor)
Return all devices that can be found in the specified directory or any sub-directories. |
| Method Detail |
|---|
List<IDevice> findDevices(File directory,
IProgressMonitor monitor)
throws CoreException,
InterruptedException
directory - the directory in which the devices must be searched.monitor - a progress monitor, or null if progress
reporting is not desired.
CoreException - if a device importer found an error occurred while
searching for the devices.
InterruptedException - if the operation detects a request to
cancel, using IProgressMonitor.isCanceled(), it should exit
by throwing InterruptedException.
List<IDevice> findDevices(String deviceImporterID,
File directory,
IProgressMonitor monitor)
throws CoreException,
InterruptedException
deviceImporterID - a fully-qualified identifier for a particular
device importer. The list of importer IDs provided by MTJ can
be found at IDeviceImporter.directory - the directory in which the devices must be searched.monitor - a progress monitor, or null if progress
reporting is not desired.
CoreException - if the specified device importer found an error
occurred while searching for the devices.
InterruptedException - if the operation detects a request to
cancel, using IProgressMonitor.isCanceled(), it should exit
by throwing InterruptedException.
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||