public class TriGStarWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory for TriG-star writers.| Constructor and Description |
|---|
TriGStarWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.TRIGSTAR. |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
TriGStarWriter. |
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns a new instance of
TriGStarWriter. |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
TriGStarWriter. |
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns a new instance of
TriGStarWriter. |
public RDFFormat getRDFFormat()
RDFFormat.TRIGSTAR.getRDFFormat in interface RDFWriterFactorypublic RDFWriter getWriter(OutputStream out)
TriGStarWriter.getWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
TriGStarWriter.getWriter 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)
TriGStarWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
TriGStarWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.baseURI - The URI associated with the data in the InputStream.URISyntaxExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.