|
|||||||||
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(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName in boolean datatype. |
static double |
getDoublePropertyValue(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName in double datatype. |
static java.util.Properties |
getDTSLibProperties()
Returns the properties for DataTransformationLibrary. |
static long |
getInMillisPropertyValue(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName in milliseconds. |
static int |
getIntPropertyValue(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName in int datatype. |
static long |
getLongPropertyValue(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName in long datatype. |
static java.lang.String |
getPropertyValue(java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property with name propertyName. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesManager()
Method Detail |
---|
public static java.util.Properties getDTSLibProperties()
public static java.lang.String getPropertyValue(java.lang.String propertyName, java.lang.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(java.lang.String propertyName, java.lang.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(java.lang.String propertyName, java.lang.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(java.lang.String propertyName, java.lang.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(java.lang.String propertyName, java.lang.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(java.lang.String propertyName, java.lang.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 |