Skip navigation links
A B C D F G I L P R S 

A

ActivePreferences - Class in com.github.brunodles.simplepreferences.lib
This class is intented to act as a ActiveRecord.
ActivePreferences(Context) - Constructor for class com.github.brunodles.simplepreferences.lib.ActivePreferences
 
ActivePreferences(Context, String) - Constructor for class com.github.brunodles.simplepreferences.lib.ActivePreferences
 
apply() - Method in class com.github.brunodles.simplepreferences.lib.ActivePreferences
Save current data to other objects.
apply(T, String) - Method in class com.github.brunodles.simplepreferences.lib.DaoPreferences
Save a object using that key as filename.

B

BooleanParser - Class in com.github.brunodles.simplepreferences.lib.parsers
 
BooleanParser() - Constructor for class com.github.brunodles.simplepreferences.lib.parsers.BooleanParser
 

C

canResolve(Class<?>) - Method in interface com.github.brunodles.simplepreferences.lib.Parser
 
canResolve(Class<?>) - Method in class com.github.brunodles.simplepreferences.lib.parsers.BooleanParser
 
canResolve(Class<?>) - Method in class com.github.brunodles.simplepreferences.lib.parsers.FloatParser
 
canResolve(Class<?>) - Method in class com.github.brunodles.simplepreferences.lib.parsers.IntegerParser
 
canResolve(Class<?>) - Method in class com.github.brunodles.simplepreferences.lib.parsers.LongParser
 
canResolve(Class<?>) - Method in class com.github.brunodles.simplepreferences.lib.parsers.StringParser
 
clear() - Method in class com.github.brunodles.simplepreferences.lib.ActivePreferences
Clear the data file.
clear(String) - Method in class com.github.brunodles.simplepreferences.lib.DaoPreferences
Clear a key
com.github.brunodles.simplepreferences.lib - package com.github.brunodles.simplepreferences.lib
 
com.github.brunodles.simplepreferences.lib.parsers - package com.github.brunodles.simplepreferences.lib.parsers
 
commit() - Method in class com.github.brunodles.simplepreferences.lib.ActivePreferences
Save current data to other objects.
commit(T, String) - Method in class com.github.brunodles.simplepreferences.lib.DaoPreferences
Save a object using that key as filename.

D

DaoPreferences - Class in com.github.brunodles.simplepreferences.lib
This class will work as a Data Access Object.
DaoPreferences(Context) - Constructor for class com.github.brunodles.simplepreferences.lib.DaoPreferences
 

F

FloatParser - Class in com.github.brunodles.simplepreferences.lib.parsers
 
FloatParser() - Constructor for class com.github.brunodles.simplepreferences.lib.parsers.FloatParser
 

G

getValue(Field, Object, T) - Static method in class com.github.brunodles.simplepreferences.lib.ParserHelper
 

I

IntegerParser - Class in com.github.brunodles.simplepreferences.lib.parsers
 
IntegerParser() - Constructor for class com.github.brunodles.simplepreferences.lib.parsers.IntegerParser
 

L

load(T, String) - Method in class com.github.brunodles.simplepreferences.lib.DaoPreferences
Fill a empty object with loaded data.
load(SharedPreferences, Field, Object, Property) - Method in interface com.github.brunodles.simplepreferences.lib.Parser
 
load(SharedPreferences, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.BooleanParser
 
load(SharedPreferences, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.FloatParser
 
load(SharedPreferences, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.IntegerParser
 
load(SharedPreferences, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.LongParser
 
load(SharedPreferences, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.StringParser
 
LongParser - Class in com.github.brunodles.simplepreferences.lib.parsers
 
LongParser() - Constructor for class com.github.brunodles.simplepreferences.lib.parsers.LongParser
 

P

Parser - Interface in com.github.brunodles.simplepreferences.lib
This interface is used to parse objects
ParserHelper - Class in com.github.brunodles.simplepreferences.lib
Created by bruno on 01/02/16.
Property - Annotation Type in com.github.brunodles.simplepreferences.lib
This class should be used to annotate your fields.

R

reload() - Method in class com.github.brunodles.simplepreferences.lib.ActivePreferences
Reload the data from the preferences file.
resolveKey(Field) - Static method in class com.github.brunodles.simplepreferences.lib.ParserHelper
 

S

save(SharedPreferences.Editor, Field, Object, Property) - Method in interface com.github.brunodles.simplepreferences.lib.Parser
 
save(SharedPreferences.Editor, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.BooleanParser
 
save(SharedPreferences.Editor, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.FloatParser
 
save(SharedPreferences.Editor, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.IntegerParser
 
save(SharedPreferences.Editor, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.LongParser
 
save(SharedPreferences.Editor, Field, Object, Property) - Method in class com.github.brunodles.simplepreferences.lib.parsers.StringParser
 
StringParser - Class in com.github.brunodles.simplepreferences.lib.parsers
 
StringParser() - Constructor for class com.github.brunodles.simplepreferences.lib.parsers.StringParser
 
A B C D F G I L P R S 
Skip navigation links