Package com.appslandia.plum.base
Class PrefCookie
-
- All Implemented Interfaces:
com.appslandia.common.base.Config,Serializable,Map<String,String>
public class PrefCookie extends com.appslandia.common.base.MapWrapper<String,String> implements com.appslandia.common.base.Config
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_LANGUAGEstatic StringREQUEST_ATTRIBUTE_ID
-
Constructor Summary
Constructors Constructor Description PrefCookie()PrefCookie(Map<String,String> newMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLanguage()StringgetString(String key)PrefCookieset(String key, boolean value)PrefCookieset(String key, double value)PrefCookieset(String key, float value)PrefCookieset(String key, int value)PrefCookieset(String key, long value)PrefCookieset(String key, String value)PrefCookiesetLanguage(String language)-
Methods inherited from class com.appslandia.common.base.MapWrapper
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.appslandia.common.base.Config
getBool, getDouble, getFormatted, getFormatted, getFormatted, getInt, getLong, getRequiredBool, getRequiredDouble, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getString, getStringArray
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
REQUEST_ATTRIBUTE_ID
public static final String REQUEST_ATTRIBUTE_ID
- See Also:
- Constant Field Values
-
PARAM_LANGUAGE
public static final String PARAM_LANGUAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getString
public String getString(String key)
- Specified by:
getStringin interfacecom.appslandia.common.base.Config
-
getLanguage
public String getLanguage()
-
setLanguage
public PrefCookie setLanguage(String language)
-
set
public PrefCookie set(String key, String value)
-
set
public PrefCookie set(String key, boolean value)
-
set
public PrefCookie set(String key, int value)
-
set
public PrefCookie set(String key, long value)
-
set
public PrefCookie set(String key, float value)
-
set
public PrefCookie set(String key, double value)
-
-