|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jhid.core.Enumerator
A singleton that permits to retrieve all available devices in the system.
Usage:
Enumerator.getInstance().getDevices()
Implementation note: the enumerator uses the SPI to retrieve all
contributed device providers, which in turn provide devices.
See IDeviceProvider
.
Constructor Summary | |
protected |
Enumerator()
|
Method Summary | |
java.util.List |
getDevices()
Returns all available devices . |
static Enumerator |
getInstance()
Returns the singleton instance of the enumerator, or null if jhid is not available on this system. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Enumerator()
Method Detail |
public static Enumerator getInstance()
public java.util.List getDevices()
devices
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |