Class RDFConfigurationWriter

    • Constructor Detail

      • RDFConfigurationWriter

        public RDFConfigurationWriter()
    • Method Detail

      • write

        public void write​(Configuration configuration,
                          String outputFile)
                   throws IOException
        Description copied from interface: IConfigurationWriter
        Write the configuration object to outputFile detecting the format from outputFile extension
        Specified by:
        write in interface IConfigurationWriter
        Parameters:
        configuration - object to be Written
        outputFile - to write the configuration object to
        Throws:
        IOException - if the output file can not be created
      • write

        public void write​(Configuration configuration,
                          String outputFile,
                          String format)
                   throws IOException
        Description copied from interface: IConfigurationWriter
        Write the configuration object to outputFile in the given format
        Specified by:
        write in interface IConfigurationWriter
        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