Interface ConfigurationReader

    • Method Detail

      • readConfiguration

        java.util.Hashtable<java.lang.String,​java.lang.Object> readConfiguration()
                                                                                throws java.io.IOException
        Read a single configuration from the provided reader. The reader is not closed. getIgnoredErrors() can be used after reading if any ignored errors occurred during processing the configuration.
        Returns:
        The read configuration.
        Throws:
        java.io.IOException - If reading fails
      • readConfigurationResource

        ConfigurationResource readConfigurationResource()
                                                 throws java.io.IOException
        Read a configuration resource from the provided reader. The reader is not closed. getIgnoredErrors() can be used after reading if any ignored errors occurred during processing the resource.
        Returns:
        The read configurations.
        Throws:
        java.io.IOException - If reading fails
      • getIgnoredErrors

        java.util.List<java.lang.String> getIgnoredErrors()
        After reading a configuration (resource) this method will return a list of ignored errors.
        Returns:
        List of ignored errors, might be empty.