Package org.eclipse.rdf4j.rio.trix
Class TriXWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.trix.TriXWriterFactory
- All Implemented Interfaces:
RDFWriterFactory
An
RDFWriterFactory
for TriX writers.- Author:
- Arjohn Kampman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsRDFFormat.TRIX
.getWriter
(OutputStream out) Returns a new instance ofTriXWriter
.getWriter
(OutputStream out, String baseURI) Returns a new instance ofTriXWriter
.Returns a new instance ofTriXWriter
.Returns a new instance ofTriXWriter
.
-
Constructor Details
-
TriXWriterFactory
public TriXWriterFactory()
-
-
Method Details
-
getRDFFormat
ReturnsRDFFormat.TRIX
.- Specified by:
getRDFFormat
in interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofTriXWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.
-
getWriter
Returns a new instance ofTriXWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.
-
getWriter
Returns a new instance ofTriXWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.
-
getWriter
Returns a new instance ofTriXWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.
-