public class TriGWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory
for TriG parsers.Constructor and Description |
---|
TriGWriterFactory() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.TRIG . |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
TriGWriter . |
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns a new instance of
TriGWriter . |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
TriGWriter . |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns a new instance of
TriGWriter . |
public RDFFormat getRDFFormat()
RDFFormat.TRIG
.getRDFFormat
in interface RDFWriterFactory
public RDFWriter getWriter(OutputStream out)
TriGWriter
.getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
TriGWriter
.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)
TriGWriter
.getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
TriGWriter
.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-2020 Eclipse Foundation. All Rights Reserved.