public interface Storage
Modifier and Type | Interface and Description |
---|---|
static interface |
Storage.Editor |
Modifier and Type | Field and Description |
---|---|
static int |
MODE_APPEND |
static int |
MODE_PRIVATE |
static int |
MODE_WORLD_READABLE |
static int |
MODE_WORLD_WRITEABLE |
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) |
static final int MODE_PRIVATE
static final int MODE_WORLD_READABLE
static final int MODE_WORLD_WRITEABLE
static final int MODE_APPEND
java.util.Map<java.lang.String,?> getAll()
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)
int getInt(java.lang.String key, int defValue)
long getLong(java.lang.String key, long defValue)
float getFloat(java.lang.String key, float defValue)
boolean getBoolean(java.lang.String key, boolean defValue)
boolean contains(java.lang.String key)
Storage.Editor edit()