public class ShowTopology extends Object
This class shows how to enumerate all USB-connected devices. This class should not be used except by other example code.
| Constructor and Description |
|---|
ShowTopology() |
| Modifier and Type | Method and Description |
|---|---|
static UsbHub |
getVirtualRootUsbHub()
Get the virtual root UsbHub.
|
static void |
main(String[] argv) |
static void |
processUsingGetAttachedUsbDevices(UsbDevice usbDevice,
String prefix)
Process all devices in the system using getAttachedUsbDevices().
|
static void |
processUsingGetUsbPorts(UsbDevice usbDevice,
String prefix)
Process all devices in the system using getUsbPorts().
|
public static final String PREFIX
public static void main(String[] argv)
public static UsbHub getVirtualRootUsbHub()
public static void processUsingGetAttachedUsbDevices(UsbDevice usbDevice, String prefix)
Copyright © 2014 LSST. All Rights Reserved.