|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.biffle.cliff.pearl.DeviceSettings
Wrapper for the Device Settings properties file returned from the Pearl device.
| Constructor Summary | |
protected |
DeviceSettings(java.lang.String text)
Creates a new DeviceSettings object based on property text from the device. |
| Method Summary | |
boolean |
containsProperty(java.lang.String key)
|
java.lang.String[] |
getCapabilities()
Returns the device's reported capabilities as an array of String tokens. |
java.lang.String[] |
getCodecs()
Returns the device's supported codecs as an array of String tokens. |
long |
getDeviceGeneration()
Returns the device generation -- the time its contents were last modified as a Unix-style timestamp. |
long |
getDeviceID()
Returns the device ID. |
java.lang.String |
getFirmwareVersion()
Returns the device's current firmware version. |
long |
getHardwareRevision()
Returns the device's reported hardware revision. |
long |
getLong(java.lang.String key)
Raw property access. |
java.lang.String |
getManufacturer()
Returns the name of the device's manufacturer. |
long |
getMaxPlaylistEntries()
Returns the maximum number of playlist entries the device supports. |
java.lang.String |
getName()
Returns the name of the device (the model). |
long |
getRecovery()
Returns a flag indicating whether or not the device is in recovery mode. |
java.lang.String |
getRNSPrefix()
Returns the rns_prefix field. |
long |
getRNSVersion()
Returns the rns_version field. |
long |
getSerial()
Returns the serial field. |
java.lang.String |
getStorageName()
Returns the name of the storage device. |
java.lang.String |
getString(java.lang.String key)
Raw property access. |
java.util.Set |
propertySet()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected DeviceSettings(java.lang.String text)
| Method Detail |
public java.lang.String[] getCapabilities()
public java.lang.String[] getCodecs()
public long getDeviceGeneration()
public long getDeviceID()
public java.lang.String getFirmwareVersion()
public long getHardwareRevision()
public java.lang.String getManufacturer()
public long getMaxPlaylistEntries()
public java.lang.String getName()
public long getRecovery()
public java.lang.String getRNSPrefix()
public long getRNSVersion()
public long getSerial()
public java.lang.String getStorageName()
public java.util.Set propertySet()
public boolean containsProperty(java.lang.String key)
public java.lang.String getString(java.lang.String key)
public long getLong(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||