|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.android.apps.analytics.easytracking.ParameterLoaderImpl
public class ParameterLoaderImpl
This class implements the ParameterLoader interface by loading parameters from the Application's resources.
| Constructor Summary | |
|---|---|
ParameterLoaderImpl(android.content.Context ctx)
|
|
| Method Summary | |
|---|---|
boolean |
getBoolean(String key)
Look up the boolean value represented by the string resource whose name is key. |
int |
getInt(String key,
int defaultValue)
Look up the integer value represented by the string resource whose name is key. |
String |
getString(String key)
Look up the string value for the resource whose name is key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterLoaderImpl(android.content.Context ctx)
| Method Detail |
|---|
public String getString(String key)
key - the key for the string resource we're seeking
public boolean getBoolean(String key)
key - the key for the string resource we're seeking
public int getInt(String key,
int defaultValue)
key - the key for the string resource we're seekingdefaultValue - the value to return if the key isn't found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||