|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.core.HostFactory | +--usb.windows.Windows
Provides access to native USB host objects
Field Summary | |
static java.lang.String |
A_JUSB_DRIVER
The string to regocnise a jUSB driver. |
static boolean |
createUSB
if true then debugs the USB issues |
static boolean |
debug
|
static boolean |
debugDeviceImpl
if true then debugs the DeviceImpl issues |
static boolean |
debugEnum
If true the debugs the enumeration process |
static boolean |
debugJUSB
if true then debugs the JUSB issues |
static boolean |
debugUSB
if true then debugs the USB issues |
static boolean |
debugWatcher
if true then debugs the Watcher issues |
Constructor Summary | |
Windows()
Not part of the API; implements reference implementation SPI. |
Method Summary | |
Host |
createHost()
Not part of the API; implements reference implementation SPI. |
static Host |
getHost()
Provides access to a singelton USB Host |
static java.lang.String |
getHostControllerDevicePath(int number)
Return the ith host controller device path from the Windows OS |
static java.lang.String |
getHostControllerName(java.lang.String hcdDevicePath)
Return the host controller name of the Windows OS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean debug
public static final boolean debugEnum
public static final boolean debugWatcher
public static final boolean debugUSB
public static final boolean debugDeviceImpl
public static final boolean debugJUSB
public static boolean createUSB
public static final java.lang.String A_JUSB_DRIVER
Constructor Detail |
public Windows()
Method Detail |
public Host createHost() throws java.io.IOException
createHost
in class HostFactory
java.io.IOException
public static Host getHost() throws java.io.IOException
java.io.IOException
- When USB Host functions are not available.public static java.lang.String getHostControllerName(java.lang.String hcdDevicePath)
hcdDevicePath
- The host controller device path from the Windows OS
public static java.lang.String getHostControllerDevicePath(int number)
number
- The number indicates the ith host controller on the system. Start with 0 and
increment until null is returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |