public class N3WriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory
for N3 writers.Constructor and Description |
---|
N3WriterFactory() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.N3 . |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
N3Writer . |
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
N3Writer . |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns an RDFWriter instance that will write to the supplied writer.
|
public RDFFormat getRDFFormat()
RDFFormat.N3
.getRDFFormat
in interface RDFWriterFactory
public RDFWriter getWriter(OutputStream out)
N3Writer
.getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
RDFWriterFactory
getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.URISyntaxException
public RDFWriter getWriter(Writer writer)
N3Writer
.getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
RDFWriterFactory
getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.URISyntaxException
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.