Package org.codehaus.mojo.versions.utils
Class PropertiesVersionsFileReader
java.lang.Object
org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader
Reader class for reading property files
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesVersionsFileReader(String filePath) Creates an instance of the object with the given path to the property file -
Method Summary
-
Constructor Details
-
PropertiesVersionsFileReader
Creates an instance of the object with the given path to the property file- Parameters:
filePath- path to the property file
-
-
Method Details
-
read
Reads the property file- Throws:
IOException- thrown if an I/O exception occurs during the read operation
-
getProperties
Returns the string contents of the property file- Returns:
- contents of the property file
-
getPropertiesConfig
Returns the array ofPropertyobjects- Returns:
- array of properties
-