Class JavaProps
java.lang.Object
gov.nasa.pds.registry.common.util.JavaProps
Utility class to read java properties files.
- Author:
- karpenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBoolean(String key) Get boolean property.getProperty(String key) Get string property.
-
Constructor Details
-
JavaProps
Constructor- Parameters:
filePath- Java properties file- Throws:
Exception- an exception
-
-
Method Details
-
getBoolean
Get boolean property.- Parameters:
key- property key / name- Returns:
- boolean value
- Throws:
Exception- an exception
-
getProperty
Get string property.- Parameters:
key- property key / name- Returns:
- String value
-