Class PropertiesVersionsFileReader

java.lang.Object
org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader

public class PropertiesVersionsFileReader extends Object
Reader class for reading property files
  • Constructor Details

    • PropertiesVersionsFileReader

      public PropertiesVersionsFileReader(String filePath)
      Creates an instance of the object with the given path to the property file
      Parameters:
      filePath - path to the property file
  • Method Details

    • read

      public void read() throws IOException
      Reads the property file
      Throws:
      IOException - thrown if an I/O exception occurs during the read operation
    • getProperties

      public String getProperties()
      Returns the string contents of the property file
      Returns:
      contents of the property file
    • getPropertiesConfig

      public Property[] getPropertiesConfig()
      Returns the array of Property objects
      Returns:
      array of properties