Package org.eclipse.rdf4j.rio.trigstar
Class TriGStarWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.trigstar.TriGStarWriterFactory
- All Implemented Interfaces:
RDFWriterFactory
An
RDFWriterFactory
for TriG-star writers.- Author:
- Pavel Mihaylov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsRDFFormat.TRIGSTAR
.getWriter
(OutputStream out) Returns a new instance ofTriGStarWriter
.getWriter
(OutputStream out, String baseURI) Returns a new instance ofTriGStarWriter
.Returns a new instance ofTriGStarWriter
.Returns a new instance ofTriGStarWriter
.
-
Constructor Details
-
TriGStarWriterFactory
public TriGStarWriterFactory()
-
-
Method Details
-
getRDFFormat
ReturnsRDFFormat.TRIGSTAR
.- Specified by:
getRDFFormat
in interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofTriGStarWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.
-
getWriter
Returns a new instance ofTriGStarWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-
getWriter
Returns a new instance ofTriGStarWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.
-
getWriter
Returns a new instance ofTriGStarWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-