|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.core.HostFactory | +--usb.linux.Linux
Provides access to native USB host object for this process.
HostProxy
Constructor Summary | |
Linux()
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 the singleton USB Host. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Linux()
Method Detail |
public Host createHost() throws java.io.IOException
createHost
in class HostFactory
public static Host getHost() throws java.io.IOException, java.lang.SecurityException
java.io.IOException
- for file access problemsjava.lang.SecurityException
- when usbdevfs hasn't been set
up to allow this process to read and write all device nodesjava.lang.RuntimeException
- various runtime exceptions may
be thrown if the USB information provided by the system
doesn't appear to make sense.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |