Class XMLConfigurationWriter
- java.lang.Object
-
- org.aksw.limes.core.io.config.writer.XMLConfigurationWriter
-
- All Implemented Interfaces:
IConfigurationWriter
public class XMLConfigurationWriter extends Object implements IConfigurationWriter
- Version:
- Nov 12, 2015
- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description XMLConfigurationWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(Configuration configuration, String outputFile)Write the configuration object to outputFile detecting the format from outputFile extensionvoidwrite(Configuration configuration, String outputFile, String format)Write the configuration object to outputFile in the given format
-
-
-
Method Detail
-
write
public void write(Configuration configuration, String outputFile, String format) throws IOException
Description copied from interface:IConfigurationWriterWrite the configuration object to outputFile in the given format- Specified by:
writein interfaceIConfigurationWriter- Parameters:
configuration- object to be WrittenoutputFile- to write the configuration object toformat- of the outputFile- Throws:
IOException- if the output file can not be created
-
write
public void write(Configuration configuration, String outputFile) throws IOException
Description copied from interface:IConfigurationWriterWrite the configuration object to outputFile detecting the format from outputFile extension- Specified by:
writein interfaceIConfigurationWriter- Parameters:
configuration- object to be WrittenoutputFile- to write the configuration object to- Throws:
IOException- if the output file can not be created
-
-