|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.PropertiesManager
public class PropertiesManager
| Constructor Summary | |
|---|---|
PropertiesManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesManager()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||