Modifier and Type | Class and Description |
---|---|
class |
XmlStorage.EditorImpl |
Storage.Editor
MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE
Constructor and Description |
---|
XmlStorage(java.io.File file,
int mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String key) |
Storage.Editor |
edit() |
java.util.Map<java.lang.String,?> |
getAll() |
boolean |
getBoolean(java.lang.String key,
boolean defValue) |
float |
getFloat(java.lang.String key,
float defValue) |
int |
getInt(java.lang.String key,
int defValue) |
long |
getLong(java.lang.String key,
long defValue) |
java.lang.String |
getString(java.lang.String key,
java.lang.String defValue) |
java.util.Set<java.lang.String> |
getStringSet(java.lang.String key,
java.util.Set<java.lang.String> defValues) |
public java.lang.String getString(java.lang.String key, java.lang.String defValue)
public java.util.Set<java.lang.String> getStringSet(java.lang.String key, java.util.Set<java.lang.String> defValues)
getStringSet
in interface Storage
public int getInt(java.lang.String key, int defValue)
public long getLong(java.lang.String key, long defValue)
public float getFloat(java.lang.String key, float defValue)
public boolean getBoolean(java.lang.String key, boolean defValue)
getBoolean
in interface Storage
public Storage.Editor edit()