Public Member Functions | |
Map< String, Setting > | GetAllProperties () |
Read all settings. | |
Map< String, String > | GetAllValues () |
Read all settings key/value pairs. | |
Map< String, Setting > | GetProperties (List< String > keys) |
Read setting associated with given key. | |
Setting | GetProperties (String key) |
Read multiple settings associated with the given list of keys. | |
String | GetValue (String key) |
Read setting associated with the given key. | |
Map< String, String > | GetValues (List< String > keys) |
Read multiple settings associated with the given list of keys. | |
boolean | SetValue (String keyToSet, String valueToSet) |
Write a setting value associated with the given key. More... | |
boolean | SetValues (Map< String, String > keysToSet) |
Write multiple settings associated with given keys. More... | |
boolean SetValue | ( | String | keyToSet, |
String | valueToSet | ||
) |
Write a setting value associated with the given key.
Returns true if write is successful. Note: A value intended to be processed as strings should be quoted. e.g., value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by the printer.
Implemented in SettingsReadWrite.
boolean SetValues | ( | Map< String, String > | keysToSet | ) |
Write multiple settings associated with given keys.
Returns true if write is successful. Note: Values intended to be processed as strings should be quoted. e.g., value = SomeString and value = "SomeString" will be sent exactly as received but may be handled differently by the printer.
Implemented in SettingsReadWrite.