Package core.support.configReader
Class MavenReader
- java.lang.Object
-
- core.support.configReader.MavenReader
-
public class MavenReader extends Object
-
-
Constructor Summary
Constructors Constructor Description MavenReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleangetBooleanProperty(String key)gets key value from maven properties.static intgetIntegerProperty(String key)gets key value from maven properties.static StringgetStringProperty(String key)gets the value of the properties file based on key value, And sets default value if value is missing
-
-
-
Method Detail
-
getIntegerProperty
public static int getIntegerProperty(String key)
gets key value from maven properties. format: -Dkey value- Parameters:
key- key in properties file- Returns:
- integer value of property key
-
getStringProperty
public static String getStringProperty(String key)
gets the value of the properties file based on key value, And sets default value if value is missing- Parameters:
key- key in properties file- Returns:
- string value of property value
-
-