Interface IConfigurationWriter

    • Method Detail

      • write

        void write​(Configuration configuration,
                   String outputFile,
                   String format)
            throws IOException
        Write the configuration object to outputFile in the given format
        Parameters:
        configuration - object to be Written
        outputFile - to write the configuration object to
        format - of the outputFile
        Throws:
        IOException - if the output file can not be created
      • write

        void write​(Configuration configuration,
                   String outputFile)
            throws IOException
        Write the configuration object to outputFile detecting the format from outputFile extension
        Parameters:
        configuration - object to be Written
        outputFile - to write the configuration object to
        Throws:
        IOException - if the output file can not be created