public class PreferencesConfiguration extends java.lang.Object implements Configuration
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBoolean(java.lang.String propertyName) |
java.lang.Double |
getDouble(java.lang.String propertyName) |
java.lang.Integer |
getInt(java.lang.String propertyName) |
java.lang.Long |
getLong(java.lang.String propertyName) |
java.lang.Short |
getShort(java.lang.String propertyName) |
java.lang.String |
getString(java.lang.String propertyName) |
static PreferencesConfiguration |
newInstance(AnalyticsContext context) |
java.lang.Boolean |
optBoolean(java.lang.String propertyName,
java.lang.Boolean optValue) |
java.lang.Double |
optDouble(java.lang.String propertyName,
java.lang.Double optValue) |
java.lang.Integer |
optInt(java.lang.String propertyName,
java.lang.Integer optValue) |
java.lang.Long |
optLong(java.lang.String propertyName,
java.lang.Long optValue) |
java.lang.Short |
optShort(java.lang.String propertyName,
java.lang.Short optValue) |
java.lang.String |
optString(java.lang.String propertyName,
java.lang.String optValue) |
public static PreferencesConfiguration newInstance(AnalyticsContext context)
public java.lang.Long getLong(java.lang.String propertyName)
getLong in interface Configurationpublic java.lang.String getString(java.lang.String propertyName)
getString in interface Configurationpublic java.lang.Integer getInt(java.lang.String propertyName)
getInt in interface Configurationpublic java.lang.Double getDouble(java.lang.String propertyName)
getDouble in interface Configurationpublic java.lang.Boolean getBoolean(java.lang.String propertyName)
getBoolean in interface Configurationpublic java.lang.Short getShort(java.lang.String propertyName)
getShort in interface Configurationpublic java.lang.Long optLong(java.lang.String propertyName,
java.lang.Long optValue)
optLong in interface Configurationpublic java.lang.String optString(java.lang.String propertyName,
java.lang.String optValue)
optString in interface Configurationpublic java.lang.Integer optInt(java.lang.String propertyName,
java.lang.Integer optValue)
optInt in interface Configurationpublic java.lang.Short optShort(java.lang.String propertyName,
java.lang.Short optValue)
optShort in interface Configurationpublic java.lang.Double optDouble(java.lang.String propertyName,
java.lang.Double optValue)
optDouble in interface Configurationpublic java.lang.Boolean optBoolean(java.lang.String propertyName,
java.lang.Boolean optValue)
optBoolean in interface Configuration