public class ConfigTools extends Object
ConfigTools class.
Modifier and Type | Field and Description |
---|---|
static String |
SEQWARE_SETTINGS_PROPERTY
Constant
SEQWARE_SETTINGS_PROPERTY="SEQWARE_SETTINGS" |
Constructor and Description |
---|
ConfigTools() |
Modifier and Type | Method and Description |
---|---|
static String |
getProperty(String name)
getProperty.
|
static Map<String,String> |
getSettings()
The output keys are always uppercase!
|
static String |
getSettingsFilePath() |
static String |
getSettingsValue(SqwKeys key)
Get the value of a key if defined or the default value if not defined.
|
static boolean |
isValidDBConnectionParam(HashMap<String,String> settings) |
public static final String SEQWARE_SETTINGS_PROPERTY
SEQWARE_SETTINGS_PROPERTY="SEQWARE_SETTINGS"
public static Map<String,String> getSettings()
Map
object.public static String getSettingsValue(SqwKeys key)
key
- public static String getSettingsFilePath()
Copyright © 2015 SeqWare. All rights reserved.