public class UserPreferences
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
UserPreferences()
Protected constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
getBoolean(java.lang.String key)
Returns the user preference in form of boolean
|
static java.lang.Float |
getFloat(java.lang.String key)
Returns the user preference in form of float
|
static java.lang.Integer |
getInteger(java.lang.String key)
Returns the user preference in form of integer
|
static java.lang.String |
getString(java.lang.String key)
Returns the user preference in form of string
|
static void |
init()
Initialize the preferences
|
protected UserPreferences()
public static void init() throws OpenStegoException
OpenStegoException
public static java.lang.String getString(java.lang.String key)
key
- Preference keypublic static java.lang.Integer getInteger(java.lang.String key) throws OpenStegoException
key
- Preference keyOpenStegoException
public static java.lang.Float getFloat(java.lang.String key) throws OpenStegoException
key
- Preference keyOpenStegoException
public static java.lang.Boolean getBoolean(java.lang.String key) throws OpenStegoException
key
- Preference keyOpenStegoException
Copyright © 2007-2018 Samir Vaidya. All Rights Reserved.