Class PropertiesConfiguration.JupPropertiesReader

    • Constructor Detail

      • JupPropertiesReader

        public JupPropertiesReader​(java.io.Reader reader)
        Constructor.
        Parameters:
        reader - A Reader.
    • Method Detail

      • parseProperty

        protected void parseProperty​(java.lang.String line)
        Description copied from class: PropertiesConfiguration.PropertiesReader
        Parses a line read from the properties file. This method is called for each non-comment line read from the source file. Its task is to split the passed in line into the property key and its value. The results of the parse operation can be stored by calling the initPropertyXXX() methods.
        Overrides:
        parseProperty in class PropertiesConfiguration.PropertiesReader
        Parameters:
        line - the line read from the properties file
      • readProperty

        public java.lang.String readProperty()
                                      throws java.io.IOException
        Description copied from class: PropertiesConfiguration.PropertiesReader
        Reads a property line. Returns null if Stream is at EOF. Concatenates lines ending with "\". Skips lines beginning with "#" or "!" and empty lines. The return value is a property definition (<name> = <value>)
        Overrides:
        readProperty in class PropertiesConfiguration.PropertiesReader
        Returns:
        A string containing a property value or null
        Throws:
        java.io.IOException - in case of an I/O error