public class PropertiesManager extends Object
| Constructor and Description |
|---|
PropertiesManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanPropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName in boolean datatype.
|
static double |
getDoublePropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName in double datatype.
|
static Properties |
getDTSLibProperties()
Returns the properties for DataTransformationLibrary.
|
static long |
getInMillisPropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName in milliseconds.
|
static int |
getIntPropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName in int datatype.
|
static long |
getLongPropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName in long datatype.
|
static String |
getPropertyValue(String propertyName,
String defaultValue)
Returns the value of the property with name propertyName.
|
public static Properties getDTSLibProperties()
public static String getPropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.public static long getInMillisPropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.public static long getLongPropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.public static int getIntPropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.public static double getDoublePropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.public static boolean getBooleanPropertyValue(String propertyName, String defaultValue)
propertyName - The name of the property.defaultValue - The default value if the property is not contained in the properties file.Copyright © 2014. All Rights Reserved.