|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.networkupstools.jnut.Scanner.DiscoveredDevice
public static class Scanner.DiscoveredDevice
Result of a scan.
Used to retrieve informations about devices found by a scan and
their properties
Method Summary | |
---|---|
java.lang.String |
getDriver()
Retrieve the name of driver used by device. |
java.util.Map |
getProperties()
Retrieve the map of device properties. |
java.lang.String |
getProperty(java.lang.String name)
Retrieve a device property if exists. |
boolean |
hasProperty(java.lang.String name)
Test if the device has a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getDriver()
public java.util.Map getProperties()
public java.lang.String getProperty(java.lang.String name)
name
- Name of the property to retrieve.
public boolean hasProperty(java.lang.String name)
name
- Name of the property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |