public class InitParamsValue extends Object
| Constructor and Description |
|---|
InitParamsValue() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(org.exoplatform.container.xml.InitParams params,
String key)
Gets the Boolean value of InitParams by input key
|
static boolean |
getBoolean(org.exoplatform.container.xml.InitParams params,
String key,
boolean defaultValue)
Gets the Boolean value of InitParams by input key
|
static double |
getDouble(org.exoplatform.container.xml.InitParams params,
String key,
double defaultValue)
Gets the Double value of InitParams by input key
|
static int |
getInteger(org.exoplatform.container.xml.InitParams params,
String key,
int defaultValue)
Gets the Integer value of InitParams by input key
|
static long |
getLong(org.exoplatform.container.xml.InitParams params,
String key,
long defaultValue)
Gets the Long value of InitParams by input key
|
static String |
getString(org.exoplatform.container.xml.InitParams params,
String key,
String defaultValue)
Gets the String value of InitParams by input key
|
public static String getString(org.exoplatform.container.xml.InitParams params, String key, String defaultValue)
params - The InitParamskey - The key to get valuedefaultValue - The default valuepublic static long getLong(org.exoplatform.container.xml.InitParams params,
String key,
long defaultValue)
params - The InitParamskey - The key to get valuedefaultValue - The default valuepublic static double getDouble(org.exoplatform.container.xml.InitParams params,
String key,
double defaultValue)
params - The InitParamskey - The key to get valuedefaultValue - The default valuepublic static int getInteger(org.exoplatform.container.xml.InitParams params,
String key,
int defaultValue)
params - The InitParamskey - The key to get valuedefaultValue - The default valuepublic static boolean getBoolean(org.exoplatform.container.xml.InitParams params,
String key)
params - The InitParamskey - The key to get valuepublic static boolean getBoolean(org.exoplatform.container.xml.InitParams params,
String key,
boolean defaultValue)
params - The InitParamskey - The key to get valueCopyright © 2003–2021 eXo Platform SAS. All rights reserved.