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 |
---|---|
String |
getName()
Returns the name of this descriptor.
|
String |
getProperty(String propertyName)
Returns the value of the given property.
|
String[] |
getPropertyNames()
Returns a snapshot of available properties names for this descriptor.
|
String[] |
getPropertyValues()
Returns a snapshot of available properties values for this descriptor.
|
String getName()
Device.UNKNOWN_NAME
if its name is unavailable.String getProperty(String propertyName)
propertyName
- the property nameString[] getPropertyNames()
getProperty(String)
with properties returned by this method are not ensured to return a non null value.String[] getPropertyValues()