@Override public RDFWriter setWriterConfig(WriterConfig config) { return delegate.setWriterConfig(config); }
public RDFWriter setWriterConfig(WriterConfig config) { return delegate.setWriterConfig(config); }
/** * Writes the given single statement to the given {@link OutputStream} in the given format. * * @param st * The statement to be written. * @param output * The {@link OutputStream} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing setting for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement st, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(st, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given single statement to the given {@link OutputStream} in the given format. * * @param st * The statement to be written. * @param output * The {@link OutputStream} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing setting for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement st, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(st, writer); }
/** * Writes the given single statement to the given {@link OutputStream} in the given format. * * @param st * The statement to be written. * @param output * The {@link OutputStream} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing setting for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement st, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(st, writer); }
/** * Writes the given single statement to the given {@link Writer} in the given format. * <p> * * @param statement * A statement to be written. * @param output * The {@link Writer} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement statement, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(statement, writer); }
/** * Writes the given single statement to the given {@link Writer} in the given format. * <p> * * @param statement * A statement to be written. * @param output * The {@link Writer} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement statement, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(statement, writer); }
/** * Writes the given single statement to the given {@link Writer} in the given format. * <p> * * @param statement * A statement to be written. * @param output * The {@link Writer} to write the statement to. * @param dataFormat * The {@link RDFFormat} to use when writing the statement. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statement. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Statement statement, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(statement, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException { final RDFWriter writer = Rio.createWriter(dataFormat, output); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link Writer} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link Writer} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, Writer output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }
/** * Writes the given statements to the given {@link OutputStream} in the given format. * <p> * If the collection is a {@link Model}, its namespaces will also be written. * * @param model * A collection of statements, such as a {@link Model}, to be written. * @param output * The {@link OutputStream} to write the statements to. * @param baseURI * The base URI to relativize IRIs against. * @param dataFormat * The {@link RDFFormat} to use when writing the statements. * @param settings * The {@link WriterConfig} containing settings for configuring the writer. * @throws RDFHandlerException * Thrown if there is an error writing the statements. * @throws URISyntaxException * If the baseURI is invalid * @throws UnsupportedRDFormatException * If no {@link RDFWriter} is available for the specified RDF format. */ public static void write(Iterable<Statement> model, OutputStream output, String baseURI, RDFFormat dataFormat, WriterConfig settings) throws RDFHandlerException, UnsupportedRDFormatException, URISyntaxException { final RDFWriter writer = Rio.createWriter(dataFormat, output, baseURI); writer.setWriterConfig(settings); write(model, writer); }