public abstract class AbstractUsbDevice extends Object implements UsbDevice
| Constructor and Description |
|---|
AbstractUsbDevice(AbstractUsbDevice usbDevice) |
AbstractUsbDevice(String vendorId,
String productId,
String manufacturerName,
String productName,
String usbBusNumber,
String usbDevicePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getManufacturerName()
The manufacturer name of the device
|
String |
getProductId()
The product ID of the device
|
String |
getProductName()
The product name of the device
|
String |
getUsbBusNumber()
The USB bus number of the device
|
String |
getUsbDevicePath()
The USB device path
|
String |
getUsbPort()
The complete USB port (USB bus number plus USB device path)
|
String |
getVendorId()
The vendor ID of the device
|
int |
hashCode() |
public AbstractUsbDevice(String vendorId, String productId, String manufacturerName, String productName, String usbBusNumber, String usbDevicePath)
public AbstractUsbDevice(AbstractUsbDevice usbDevice)
public String getVendorId()
UsbDevicegetVendorId in interface UsbDevicepublic String getProductId()
UsbDevicegetProductId in interface UsbDevicepublic String getManufacturerName()
UsbDevicegetManufacturerName in interface UsbDevicepublic String getProductName()
UsbDevicegetProductName in interface UsbDevicepublic String getUsbBusNumber()
UsbDevicegetUsbBusNumber in interface UsbDevicepublic String getUsbDevicePath()
UsbDevicegetUsbDevicePath in interface UsbDevicepublic String getUsbPort()
UsbDevicegetUsbPort in interface UsbDeviceCopyright © 2016. All Rights Reserved.