Package org.goplanit.io.xml.util
Class ApplicationProperties
- java.lang.Object
-
- org.goplanit.io.xml.util.ApplicationProperties
-
public class ApplicationProperties extends Object
Class supporting easy access to application.properties file- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_PROPERTIES_FILE_NAME
static String
DESCRIPTION_PROPERTY_KEY
static String
VERSION_PROPERTY_KEY
-
Constructor Summary
Constructors Constructor Description ApplicationProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDescription()
collect description valuestatic String
getPropertyByKey(String key)
collect property by keystatic String
getVersion()
collect version value
-
-
-
Field Detail
-
APPLICATION_PROPERTIES_FILE_NAME
public static final String APPLICATION_PROPERTIES_FILE_NAME
- See Also:
- Constant Field Values
-
DESCRIPTION_PROPERTY_KEY
public static final String DESCRIPTION_PROPERTY_KEY
- See Also:
- Constant Field Values
-
VERSION_PROPERTY_KEY
public static final String VERSION_PROPERTY_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyByKey
public static String getPropertyByKey(String key)
collect property by key- Parameters:
key
- to collect value for- Returns:
- value if present
-
getDescription
public static String getDescription()
collect description value- Returns:
- description if present
-
getVersion
public static String getVersion()
collect version value- Returns:
- version if present
-
-