public class HttpLibrary extends Object
| Constructor and Description |
|---|
HttpLibrary(URL url) |
| Modifier and Type | Method and Description |
|---|---|
DeviceDefinition |
getDeviceDefinition(int manufacturedID,
int productId)
get the device definition based on the supplied manufacturer ID and product ID.
|
boolean |
hasDeviceDefinition(int manufacturedID,
int productId)
Checks if a device definition for the supplied manufacturer ID and product ID is available.
|
public HttpLibrary(URL url)
public boolean hasDeviceDefinition(int manufacturedID,
int productId)
throws NetworkException
DeviceLibraryhasDeviceDefinition in interface DeviceLibrarymanufacturedID - Manufacturer ID for device.productId - Product ID for device.NetworkException - If there is a problem loading a device definition.public DeviceDefinition getDeviceDefinition(int manufacturedID, int productId) throws NetworkException
DeviceLibrarygetDeviceDefinition in interface DeviceLibrarymanufacturedID - Manufacturer ID for device.productId - Product ID for device.NetworkException - If there is a problem loading a device definition.Copyright © 2015. All rights reserved.