public interface HardwareDescriptor<D extends Device>
Device.
When all devices sharing the same descriptor are unregistered, informations may be unavailable.
An HardwareDescriptor is identified by a set of properties.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of this descriptor.
|
java.lang.String |
getProperty(java.lang.String propertyName)
Returns the value of the given property.
|
java.lang.String[] |
getPropertyNames()
Returns a snapshot of available properties names for this descriptor.
|
java.lang.String[] |
getPropertyValues()
Returns a snapshot of available properties values for this descriptor.
|
java.lang.String getName()
Device.UNKNOWN_NAME if its name is unavailable.java.lang.String getProperty(java.lang.String propertyName)
propertyName - the property namejava.lang.String[] getPropertyNames()
getProperty(String) with properties returned by this method are not ensured to return a non null value.java.lang.String[] getPropertyValues()