public abstract class _SharedPreferencesBase extends Object implements SharedPreferences
| Modifier and Type | Class and Description |
|---|---|
class |
_SharedPreferencesBase._BaseEditor |
SharedPreferences.Editor, SharedPreferences.OnSharedPreferenceChangeListener| Constructor and Description |
|---|
_SharedPreferencesBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int id) |
protected android.os.Bundle |
d() |
boolean |
getBoolean(int id,
boolean defValue) |
float |
getFloat(int id,
float defValue) |
Set<Float> |
getFloatSet(int id,
Set<Float> defValue) |
int |
getInt(int id,
int defValue) |
Set<Integer> |
getIntSet(int id,
Set<Integer> defValue) |
org.json.JSONArray |
getJSONArray(int id,
org.json.JSONArray defValue) |
org.json.JSONObject |
getJSONObject(int id,
org.json.JSONObject defValue) |
long |
getLong(int id,
long defValue) |
Set<Long> |
getLongSet(int id,
Set<Long> defValue) |
String |
getString(int id,
String defValue) |
Set<String> |
getStringSet(int id,
Set<String> defValue) |
String |
makeNameById(int id) |
void |
setDefaultValues(android.os.Bundle bundle) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, edit, getAll, getBoolean, getFloat, getFloatSet, getInt, getIntSet, getJSONArray, getJSONObject, getLong, getLongSet, getString, getStringSet, registerOnSharedPreferenceChangeListener, unregisterOnSharedPreferenceChangeListenerpublic boolean contains(int id)
protected android.os.Bundle d()
public boolean getBoolean(int id,
boolean defValue)
public float getFloat(int id,
float defValue)
public int getInt(int id,
int defValue)
public org.json.JSONArray getJSONArray(int id,
org.json.JSONArray defValue)
public org.json.JSONObject getJSONObject(int id,
org.json.JSONObject defValue)
public long getLong(int id,
long defValue)
public String makeNameById(int id)
public void setDefaultValues(android.os.Bundle bundle)
Copyright © 2012-2013. All Rights Reserved.