Class RDFConfigurationWriter
- java.lang.Object
-
- org.aksw.limes.core.io.config.writer.RDFConfigurationWriter
-
- All Implemented Interfaces:
IConfigurationWriter
public class RDFConfigurationWriter extends Object implements IConfigurationWriter
- Version:
- Nov 12, 2015
- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description RDFConfigurationWriter()
-
Method Summary
All Methods Static 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 formatstatic voidwriteModel(org.apache.jena.rdf.model.Model model, String format, String outputFile)
-
-
-
Method Detail
-
writeModel
public static void writeModel(org.apache.jena.rdf.model.Model model, String format, String outputFile) throws IOException- Throws:
IOException
-
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
-
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
-
-