public class ConfigurationLoader extends Object
Properties object
Note: warc.homepath must be set as System.property| Constructor and Description |
|---|
ConfigurationLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getPropertiesFile() |
static Properties |
getPropertiesOfFile(String pFilename)
Loads the given properties file
|
static String |
getPropertyByKey(String key,
String pFilename)
Get a single property from baufi.properties
|
static String |
getPropertyByKey(String key,
String defaultValue,
String pFilename)
Get a single property from baufi.properties
|
public static Properties getPropertiesOfFile(String pFilename)
pFilename - Property Filepublic static String getPropertyByKey(String key, String defaultValue, String pFilename)
key - the property keydefaultValue - the default valuepFilename - Property File in your warc.homepath/conf folderpublic static String getPropertyByKey(String key, String pFilename)
key - the property keypFilename - Property File in your warc.homepath/conf folderpublic static Properties getPropertiesFile()
Copyright © 2019. All rights reserved.