public class TurtleWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory for Turtle writers.| Constructor and Description |
|---|
TurtleWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.TURTLE. |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
TurtleWriter. |
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns an RDFWriter instance that will write to the supplied output stream.
|
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
TurtleWriter. |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns an RDFWriter instance that will write to the supplied writer.
|
public RDFFormat getRDFFormat()
RDFFormat.TURTLE.getRDFFormat in interface RDFWriterFactorypublic RDFWriter getWriter(OutputStream out)
TurtleWriter.getWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
RDFWriterFactorygetWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionpublic RDFWriter getWriter(Writer writer)
TurtleWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
RDFWriterFactorygetWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.