public interface DriverLocator
Driver Locator services provide the mechanism for dynamically downloading new device driver bundles into an OSGi environment. They are supplied by providers and encapsulate all provider-specific details related to the location and acquisition of driver bundles.
|Modifier and Type||Method and Description|
Returns an array of
String findDrivers(Dictionary<String,?> props)
DRIVER_IDstrings of drivers capable of attaching to a device with the given properties.
The property keys in the specified
Dictionary objects are
props- the properties of the device for which a driver is sought
DRIVER_IDstrings of drivers capable of attaching to a Device service with the given properties, or
nullif this Driver Locator service does not know of any such drivers
InputStream loadDriver(String id) throws IOException
InputStreamfrom which the driver bundle providing a driver with the giving
DRIVER_IDcan be installed.
DRIVER_IDof the driver that needs to be installed.
InputStreamobject from which the driver bundle can be installed or
nullif the driver with the given ID cannot be located
IOException- the input stream for the bundle cannot be created
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0