public class FindUsbInterface extends Object
This finds a specific UsbInterface based on some of the interface's properties. This class should not be used except by other example code.
| Constructor and Description |
|---|
FindUsbInterface() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
getInterfaceClass()
Get an interface class.
|
static List |
getUsbInterfacesWithInterfaceClass(UsbDevice usbDevice,
byte interfaceClass)
Get a List of all interfaces that match the specified interface class.
|
static void |
main(String[] argv) |
static void |
parseArgv(String[] argv)
Parse the parameters.
|
public static void main(String[] argv)
public static List getUsbInterfacesWithInterfaceClass(UsbDevice usbDevice, byte interfaceClass)
usbDevice - The UsbDevice to check.interfaceClass - The interface class to match.public static byte getInterfaceClass()
public static void parseArgv(String[] argv)
argv - The command-line parameters.Copyright © 2014 LSST. All Rights Reserved.