public interface DriverLocator
DRIVER_ID.
 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.
Driver| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String[] | findDrivers(java.util.Dictionary<java.lang.String,?> props)Returns an array of  DRIVER_IDstrings of drivers capable of
 attaching to a device with the given properties. | 
| java.io.InputStream | loadDriver(java.lang.String id)Get an  InputStreamfrom which the driver bundle providing a
 driver with the givingDRIVER_IDcan be installed. | 
java.lang.String[] findDrivers(java.util.Dictionary<java.lang.String,?> props)
DRIVER_ID strings of drivers capable of
 attaching to a device with the given properties.
 
 
 The property keys in the specified Dictionary objects are
 case-insensitive.
props - the properties of the device for which a driver is soughtDRIVER_ID strings of drivers capable of
         attaching to a Device service with the given properties, or
         null if this Driver Locator service does not know of any
         such driversjava.io.InputStream loadDriver(java.lang.String id)
                        throws java.io.IOException
InputStream from which the driver bundle providing a
 driver with the giving DRIVER_ID can be installed.id - the DRIVER_ID of the driver that needs to be installed.InputStream object from which the driver bundle can be
         installed or null if the driver with the given ID cannot
         be locatedjava.io.IOException - the input stream for the bundle cannot be
         createdCopyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0