Skip navigation links
Android Preferences 2.0.0-beta1 Documentation
A B C D E F G I K L M N O P R S U V W 

A

ArrayPreference<T> - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist an array of values via SharedPreferences.
ArrayPreference(String, T) - Constructor for class universum.studios.android.preference.ArrayPreference
Creates a new instance of ArrayPreference with the specified key and defValue.
ArrayPreference(int, T) - Constructor for class universum.studios.android.preference.ArrayPreference
attachKey(Resources) - Method in class universum.studios.android.preference.SharedPreference
Deprecated.
Due to dropped support of keys specified via resource ids, this method becomes obsolete.

B

BooleanPreference - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a Boolean value via SharedPreferences.
BooleanPreference(String, Boolean) - Constructor for class universum.studios.android.preference.BooleanPreference
Creates a new instance of BooleanPreference with the specified key and defValue.
BooleanPreference(int, Boolean) - Constructor for class universum.studios.android.preference.BooleanPreference
build() - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences.Builder
Builds a new instance of CryptoSharedPreferences with the configuration specified for this builder.
build() - Method in class universum.studios.android.preference.PreferencesManager.Builder
Builds a new instance of PreferencesManager with the configuration specified for this builder.
build() - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade.Builder
Builds a new instance of SimpleSharedPreferencesFacade with the configuration specified for this builder.
Builder(SharedPreferences) - Constructor for class universum.studios.android.preference.crypto.CryptoSharedPreferences.Builder
Creates a new instance of Builder with the given shared preferences instance.
Builder(Context) - Constructor for class universum.studios.android.preference.PreferencesManager.Builder
Creates a new Builder with the specified context.
Builder() - Constructor for class universum.studios.android.preference.SimpleSharedPreferencesFacade.Builder
 

C

CollectionPreference<T> - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a Collection of values via SharedPreferences.
CollectionPreference(String, Class<T>, Collection<T>) - Constructor for class universum.studios.android.preference.CollectionPreference
Creates a new instance of ListPreference with the specified key and defValue.
contains(String) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
contains(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Checks whether there is stored value for the specified key in this cache.
contains(String) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Checks whether the SharedPreferences hidden behind this facade contain value for the specified key or not.
contains(String) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
contains(String) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
containsPreference(SharedPreference) - Method in class universum.studios.android.preference.PreferencesManager
Checks whether there is value associated with the specified preference contained within SharedPreferences that are managed by this manager.
createOnChangeListener(SharedPreference.PreferenceChangeCallback<T>) - Method in class universum.studios.android.preference.SharedPreference
Creates a new instance of SharedPreferences.OnSharedPreferenceChangeListener which may be used to listen for changes in value of this preference within shared preferences.
createPreferences(Context) - Method in interface universum.studios.android.preference.SharedPreferencesFactory
Creates a new instance of SharedPreferences for the given context.
createPreferences(Context) - Method in class universum.studios.android.preference.SharedPreferencesFactory.SimpleFactory
 
CryptoSharedPreferences - Class in universum.studios.android.preference.crypto
A SharedPreferences implementation that supports encryption for both keys and values that are persisted in shared preferences.
CryptoSharedPreferences.Builder - Class in universum.studios.android.preference.crypto
Builder that may be used to create instances of CryptoSharedPreferences with a desired configuration.

D

d(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#d(String, String).
d(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#d(String, String, Throwable).
DEBUG_LOG_ENABLED - Static variable in class universum.studios.android.preference.PreferencesConfig
Deprecated.
Flag indicating whether the debug output for the Preferences library trough log-cat is enabled or not.
DEFAULT - Static variable in interface universum.studios.android.preference.SharedPreferencesFactory
A SharedPreferencesFactory which may be used to create default shared preferences.
DEFAULT_PREFERENCES_NAME_SUFFIX - Static variable in class universum.studios.android.preference.SharedPreferencesPolicy
Suffix for default name used by the Android for shared preferences.
defaultPreferencesName(Context) - Static method in class universum.studios.android.preference.SharedPreferencesPolicy
Creates a default name for shared preferences for the specified context that is the same one as created by default by the Android framework.
defaultSharedPreferencesName(Context) - Static method in class universum.studios.android.preference.PreferencesManager

E

e(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#e(String, String).
e(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#e(String, String, Throwable).
edit() - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
edit() - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
EnumPreference<E extends Enum> - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist an Enum value via SharedPreferences.
EnumPreference(String, E) - Constructor for class universum.studios.android.preference.EnumPreference
Creates a new instance of EnumPreference with the specified key and defValue.
EnumPreference(int, E) - Constructor for class universum.studios.android.preference.EnumPreference
evict(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Evicts a value for the specified key stored in this cache.
evictAll() - Method in interface universum.studios.android.preference.SharedPreferencesCache
Evicts all values stored in this cache.

F

FILE_MODE_APPEND - Static variable in class universum.studios.android.preference.SharedPreferencesPolicy
Copied flag from Context.MODE_APPEND.
FILE_MODE_PRIVATE - Static variable in class universum.studios.android.preference.SharedPreferencesPolicy
Copied flag from Context.MODE_PRIVATE.
FloatPreference - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a Float value via SharedPreferences.
FloatPreference(String, Float) - Constructor for class universum.studios.android.preference.FloatPreference
Creates a new instance of FloatPreference with the specified key and defValue.
FloatPreference(int, Float) - Constructor for class universum.studios.android.preference.FloatPreference

G

getAll() - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getAll() - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getBoolean(String, boolean) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getBoolean(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the boolean value for the specified key stored in this cache.
getBoolean(String, boolean) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the boolean value for the specified key from SharedPreferences hidden behind this facade.
getBoolean(String, boolean) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getBoolean(String, boolean) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
getDefaultValue() - Method in class universum.studios.android.preference.SharedPreference
Returns the default value of this preference.
getFloat(String, float) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getFloat(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the float value for the specified key stored in this cache.
getFloat(String, float) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the float value for the specified key from SharedPreferences hidden behind this facade.
getFloat(String, float) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getFloat(String, float) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
getFromPreferences(SharedPreferences, String, Object) - Static method in class universum.studios.android.preference.ArrayPreference
Obtains the array persisted within the given shared preferences for the specified key.
getFromPreferences(SharedPreferences, String, Collection<T>) - Static method in class universum.studios.android.preference.CollectionPreference
Obtains the array persisted within the given shared preferences for the specified key.
getFromPreferences(SharedPreferences, String, List<T>) - Static method in class universum.studios.android.preference.ListPreference
Deprecated.
Returns a List mapped in the given shared preferences under the specified key.
getInt(String, int) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getInt(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the integer value for the specified key stored in this cache.
getInt(String, int) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the integer value for the specified key from SharedPreferences hidden behind this facade.
getInt(String, int) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getInt(String, int) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
getKey() - Method in class universum.studios.android.preference.SharedPreference
Returns the key of this preference.
getKeyRes() - Method in class universum.studios.android.preference.SharedPreference
Deprecated.
getLogger() - Static method in class universum.studios.android.preference.PreferencesLogging
Returns the logger used by this logging class.
getLong(String, long) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getLong(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the long value for the specified key stored in this cache.
getLong(String, long) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the long value for the specified key from SharedPreferences hidden behind this facade.
getLong(String, long) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getLong(String, long) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
getMode() - Method in class universum.studios.android.preference.PreferencesManager
getPreference(SharedPreference<T>) - Method in class universum.studios.android.preference.PreferencesManager
Obtains the value for the given preference from SharedPreferences that are managed by this manager.
getPreferences() - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
Returns the SharedPreferences that are hidden behind this facade.
getPreferencesFileMode() - Method in class universum.studios.android.preference.PreferencesManager
Returns the file mode of SharedPreferences that are managed by this manager.
getPreferencesName() - Method in class universum.studios.android.preference.PreferencesManager
Returns the name of SharedPreferences that are managed by this manager.
getSharedPreferences() - Method in class universum.studios.android.preference.PreferencesManager
getSharedPreferencesName() - Method in class universum.studios.android.preference.PreferencesManager
Deprecated.
getString(String, String) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getString(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the string value for the specified key stored in this cache.
getString(String, String) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the string value for the specified key from SharedPreferences hidden behind this facade.
getString(String, String) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
getString(String, String) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
getStringSet(String, Set<String>) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
getStringSet(String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Retrieves the set of string values for the specified key stored in this cache.
getStringSet(String, Set<String>) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Retrieves the set of string values for the specified key from SharedPreferences hidden behind this facade.
getStringSet(String, Set<String>) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
Note, that for pre HONEYCOMB Android versions this method does nothing and always returns null.
getStringSet(String, Set<String>) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
Note, that for pre HONEYCOMB Android versions this method does nothing and always returns null.
getValue() - Method in class universum.studios.android.preference.SharedPreference
Returns the value which is at this time being hold by this preference object.
getWrappedPreferences() - Method in class universum.studios.android.preference.SharedPreferencesWrapper
Returns the wrapped SharedPreferences instance.

I

i(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#i(String, String).
i(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#i(String, String, Throwable).
IntegerPreference - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a Integer value via SharedPreferences.
IntegerPreference(String, Integer) - Constructor for class universum.studios.android.preference.IntegerPreference
Creates a new instance of IntegerPreference with the specified key and defValue.
IntegerPreference(int, Integer) - Constructor for class universum.studios.android.preference.IntegerPreference
isCachingEnabled() - Method in class universum.studios.android.preference.PreferencesManager
Returns flag indicating whether the caching of SharedPreference's values is enabled or not.
isEmpty() - Method in interface universum.studios.android.preference.SharedPreferencesCache
Checks whether this cache is empty or not.

K

key(int) - Method in class universum.studios.android.preference.PreferencesManager
Returns a string key for the specified resId.
keyCrypto(Crypto) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences.Builder
Specifies an implementation of Crypto that should be used by CryptoSharedPreferences for encryption and decryption of preference keys for which are values persisted in preferences specified via #Builder(SharedPreferences).

L

ListPreference<T> - Class in universum.studios.android.preference
Deprecated.
ListPreference(String, Class<T>, List<T>) - Constructor for class universum.studios.android.preference.ListPreference
Deprecated.
Creates a new instance of ListPreference.
ListPreference(int, Class<T>, List<T>) - Constructor for class universum.studios.android.preference.ListPreference
LOG_ENABLED - Static variable in class universum.studios.android.preference.PreferencesConfig
Deprecated.
Flag indicating whether the verbose output for the Preferences library trough log-cat is enabled or not.
LongPreference - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a Long value via SharedPreferences.
LongPreference(String, Long) - Constructor for class universum.studios.android.preference.LongPreference
Creates a new instance of LongPreference with the specified key and defValue.
LongPreference(int, Long) - Constructor for class universum.studios.android.preference.LongPreference

M

mapCache() - Static method in class universum.studios.android.preference.cache.SharedPreferenceCaches
Returns a new instance of SharedPreferencesCache that is backed by implementation of Map.
mContext - Variable in class universum.studios.android.preference.PreferencesManager
Context that has been specified during initialization of this manager instance.
MODE_APPEND - Static variable in class universum.studios.android.preference.PreferencesManager
MODE_ENABLE_WRITE_AHEAD_LOGGING - Static variable in class universum.studios.android.preference.PreferencesManager
Deprecated.
This flag is appropriate only for database files.
MODE_MULTI_PROCESS - Static variable in class universum.studios.android.preference.PreferencesManager
Deprecated.
Deprecated due to deprecation in the framework. See Context.MODE_MULTI_PROCESS.
MODE_PRIVATE - Static variable in class universum.studios.android.preference.PreferencesManager

N

NotInCacheException(String) - Constructor for exception universum.studios.android.preference.SharedPreferencesCache.NotInCacheException
Creates a new instance of NotInCacheException for the specified key.

O

onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.ArrayPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.BooleanPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.CollectionPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.EnumPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.FloatPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.IntegerPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.ListPreference
Deprecated.
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.LongPreference
 
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.SharedPreference
Invoked to retrieve the actual value of this preference from the given shared preferences.
onGetFromPreferences(SharedPreferences) - Method in class universum.studios.android.preference.StringPreference
 
onPreferenceChanged(SharedPreference<P>) - Method in interface universum.studios.android.preference.SharedPreference.PreferenceChangeCallback
Invoked whenever a value of the specified preference has been changed.
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.ArrayPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.BooleanPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.CollectionPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.EnumPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.FloatPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.IntegerPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.ListPreference
Deprecated.
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.LongPreference
 
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.SharedPreference
Invoked to persist the actual value into the given shared preferences.
onPutIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.StringPreference
 

P

preferences(SharedPreferences) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade.Builder
Specifies a shared preferences instance that should be hidden behind facade.
PreferencesConfig - Class in universum.studios.android.preference
Deprecated.
To control library logs use PreferencesLogging utility class.
preferencesFileMode(int) - Method in class universum.studios.android.preference.PreferencesManager.Builder
Specifies a file mode for shared preferences that is used to create default preferences instance in case when there is no explicit instance of preferences specified for this builder via SimpleSharedPreferencesFacade.Builder.preferences(SharedPreferences).
PreferencesLogging - Class in universum.studios.android.preference
Utility class used by the Adapters library for logging purpose.
PreferencesManager - Class in universum.studios.android.preference
Manager that may be used to simplify management (storing + obtaining) of values presented within a SharedPreferences of an Android application.
PreferencesManager(Context) - Constructor for class universum.studios.android.preference.PreferencesManager
PreferencesManager(Context, String) - Constructor for class universum.studios.android.preference.PreferencesManager
PreferencesManager(Context, String, int) - Constructor for class universum.studios.android.preference.PreferencesManager
PreferencesManager(PreferencesManager.Builder) - Constructor for class universum.studios.android.preference.PreferencesManager
todo:
PreferencesManager.Builder - Class in universum.studios.android.preference
Builder that may be used to creates new instances of PreferencesManager with a desired configuration.
PreferencesManager.Mode - Annotation Type in universum.studios.android.preference
Deprecated.
preferencesName(String) - Method in class universum.studios.android.preference.PreferencesManager.Builder
Specifies a name for shared preferences that is used to create default preferences instance in case when there is no explicit instance of preferences specified for this builder via SimpleSharedPreferencesFacade.Builder.preferences(SharedPreferences).
preferencesName(Context, String) - Static method in class universum.studios.android.preference.SharedPreferencesPolicy
Creates a name for shared preferences with the given nameSuffix for the specified context.
putBoolean(String, boolean) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given boolean value for the specified key into this cache.
putBoolean(String, boolean) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given boolean value for the specified key into SharedPreferences hidden behind this facade.
putBoolean(String, boolean) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
putFloat(String, float) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given float value for the specified key into this cache.
putFloat(String, float) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given float value for the specified key into SharedPreferences hidden behind this facade.
putFloat(String, float) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
putInt(String, int) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given integer value for the specified key into this cache.
putInt(String, int) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given integer value for the specified key into SharedPreferences hidden behind this facade.
putInt(String, int) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
putIntoPreferences(SharedPreferences, String, Object) - Static method in class universum.studios.android.preference.ArrayPreference
Persists the given array value for the specified key into the given shared preferences.
putIntoPreferences(SharedPreferences, String, Collection<T>, Class<T>) - Static method in class universum.studios.android.preference.CollectionPreference
Persists the given collection value for the specified key into the given shared preferences.
putIntoPreferences(SharedPreferences, String, List<T>, Class<T>) - Static method in class universum.studios.android.preference.ListPreference
Deprecated.
Saves the given list into the given shared preferences.
putIntoPreferences(SharedPreferences) - Method in class universum.studios.android.preference.SharedPreference
Persists the actual value of this preference into the given shared preferences.
putLong(String, long) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given long value for the specified key into this cache.
putLong(String, long) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given long value for the specified key into SharedPreferences hidden behind this facade.
putLong(String, long) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
putPreference(SharedPreference<T>, T) - Method in class universum.studios.android.preference.PreferencesManager
Persists the given value for the specified preference into SharedPreferences that are managed by this manager.
putString(String, String) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given string value for the specified key into this cache.
putString(String, String) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given string value for the specified key into SharedPreferences hidden behind this facade.
putString(String, String) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
putStringSet(String, Set<String>) - Method in interface universum.studios.android.preference.SharedPreferencesCache
Puts the given set of string values for the specified key into this cache.
putStringSet(String, Set<String>) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Puts the given set of string values for the specified key into SharedPreferences hidden behind this facade.
putStringSet(String, Set<String>) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
Note, that for pre HONEYCOMB Android versions this method does nothing and always returns false.

R

registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Registers a listener in order to receive a callback whenever a value of preference persisted within the SharedPreferences hidden behind this facade changes.
registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
remove(String) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Removes a value for the specified key from the SharedPreferences hidden behind this facade.
remove(String) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
removeAll() - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Removes all values from the SharedPreferences hidden behind this facade.
removeAll() - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
removePreference(SharedPreference) - Method in class universum.studios.android.preference.PreferencesManager
Removes a value for the specified preference from SharedPreferences that are managed by this manager.
retrieve(SharedPreferences) - Method in class universum.studios.android.preference.SharedPreference

S

save(SharedPreferences) - Method in class universum.studios.android.preference.SharedPreference
setCachingEnabled(boolean) - Method in class universum.studios.android.preference.PreferencesManager
Enables/disables the caching SharedPreference's values.
setLogger(Logger) - Static method in class universum.studios.android.preference.PreferencesLogging
Sets a logger to be used by this logging class to print out logs into console.
setMode(int) - Method in class universum.studios.android.preference.PreferencesManager
Deprecated.
The new implementation of preferences manager does not support changing of preferences file mode after the manager has been initialized.
setSharedPreferencesName(String) - Method in class universum.studios.android.preference.PreferencesManager
Deprecated.
The new implementation of preferences manager does not support changing of preferences name after the manager has been initialized.
SharedPreference<T> - Class in universum.studios.android.preference
Base implementation of shared preference object which may be used to persist a desired value via SharedPreferences and then retrieve it.
SharedPreference(String, T) - Constructor for class universum.studios.android.preference.SharedPreference
Creates a new instance of SharedPreference with the given key and default value.
SharedPreference(int, T) - Constructor for class universum.studios.android.preference.SharedPreference
SharedPreference.PreferenceChangeCallback<P> - Interface in universum.studios.android.preference
Callback that may be used to listen for changes in value of a specific SharedPreference implementation.
SharedPreferenceCaches - Class in universum.studios.android.preference.cache
Factory that provides common implementations of SharedPreferencesCache.
SharedPreferencesCache - Interface in universum.studios.android.preference
Interface that specifies a layer for caches that may be used to store values of SharedPreferences in a memory.
SharedPreferencesCache.NotInCacheException - Exception in universum.studios.android.preference
An exception that may be used by implementations of SharedPreferencesCache to indicate that they have no value stored for a requested key.
SharedPreferencesFacade - Interface in universum.studios.android.preference
Interface that specifies a layer which may be used to hide a concrete implementation of SharedPreferences and to simplify putting and obtaining of values for such preferences implementation.
SharedPreferencesFactory - Interface in universum.studios.android.preference
Simple interface for factories that may be used to create instances of SharedPreferences.
SharedPreferencesFactory.SimpleFactory - Class in universum.studios.android.preference
A simple implementation of SharedPreferencesFactory which may be used to create instances of SharedPreferences with a desired name and file creation mode via either #SimpleFactory(String) or #SimpleFactory(String, int).
SharedPreferencesPolicy - Class in universum.studios.android.preference
Simple class that declares basic policies for SharedPreferences.
SharedPreferencesPolicy.FileMode - Annotation Type in universum.studios.android.preference
Defines an annotation for determining allowed file creation modes for SharedPreferences file.
SharedPreferencesWrapper - Class in universum.studios.android.preference
A SharedPreferences implementation which may be used to wrap an instance of SharedPreferences.
SharedPreferencesWrapper(SharedPreferences) - Constructor for class universum.studios.android.preference.SharedPreferencesWrapper
Creates a new instance of SharedPreferencesWrapper in order to wrap the given preferences instance.
SimpleFactory(String) - Constructor for class universum.studios.android.preference.SharedPreferencesFactory.SimpleFactory
Creates a new instance of SimpleFactory with the specified fileName and SharedPreferencesPolicy#FILE_MODE_PRIVATE) as file mode for preferences file.
SimpleFactory(String, int) - Constructor for class universum.studios.android.preference.SharedPreferencesFactory.SimpleFactory
Creates a new instance of SimpleFactory with the specified fileName and fileMode for preferences file.
SimpleSharedPreferencesFacade - Class in universum.studios.android.preference
Simple implementation of SharedPreferencesFacade which supports simple obtaining and putting of values persisted in SharedPreferences with which is facade created via SimpleSharedPreferencesFacade.Builder builder.
SimpleSharedPreferencesFacade(SimpleSharedPreferencesFacade.Builder) - Constructor for class universum.studios.android.preference.SimpleSharedPreferencesFacade
Creates a new instance of SimpleSharedPreferencesFacade with configuration provided by the specified builder.
SimpleSharedPreferencesFacade.Builder<B> - Class in universum.studios.android.preference
Builder that may be used to create instances of SimpleSharedPreferencesFacade which hide a desired shared preferences instance in order to support simple putting and obtaining of values stored in such preferences.
StringPreference - Class in universum.studios.android.preference
A SharedPreference implementation that may be used to persist a String value via SharedPreferences.
StringPreference(String, String) - Constructor for class universum.studios.android.preference.StringPreference
Creates a new instance of StringPreference with the specified key and defValue.
StringPreference(int, String) - Constructor for class universum.studios.android.preference.StringPreference

U

universum.studios.android.preference - package universum.studios.android.preference
Provides classes that may be used to store or obtain data into/from the Android system SharedPreferences in a simplified fashion.
universum.studios.android.preference.cache - package universum.studios.android.preference.cache
 
universum.studios.android.preference.crypto - package universum.studios.android.preference.crypto
 
unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences
 
unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in interface universum.studios.android.preference.SharedPreferencesFacade
Un-registers a previously registered listener in order to not receive further any callbacks about preference changes.
unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.SharedPreferencesWrapper
 
unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class universum.studios.android.preference.SimpleSharedPreferencesFacade
 
updateValue(T) - Method in class universum.studios.android.preference.SharedPreference
Updates the actual value of this preference to the given one.

V

v(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#v(String, String).
v(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#v(String, String, Throwable).
valueCache(SharedPreferencesCache) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences.Builder
Specifies a cache that should be used by CryptoSharedPreferences to store already decrypted preference values in order to speed up obtaining process of such values from shared preferences.
valueCrypto(Crypto) - Method in class universum.studios.android.preference.crypto.CryptoSharedPreferences.Builder
Specifies an implementation of Crypto that should be used by CryptoSharedPreferences for encryption and decryption of preference values persisted in preferences specified via #Builder(SharedPreferences).

W

w(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#w(String, String).
w(String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#w(String, Throwable).
w(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#w(String, String, Throwable).
wtf(String, String) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#wtf(String, String).
wtf(String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#wtf(String, Throwable).
wtf(String, String, Throwable) - Static method in class universum.studios.android.preference.PreferencesLogging
Delegates to Logger#wtf(String, String, Throwable).
A B C D E F G I K L M N O P R S U V W 
Skip navigation links
Android Preferences 2.0.0-beta1 Documentation