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
Constructors -
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:
getRDFFormatin interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofTriXWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
out- The OutputStream to write the RDF to.
-
getWriter
Returns a new instance ofTriXWriter.- Specified by:
getWriterin 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:
getWriterin interfaceRDFWriterFactory- Parameters:
writer- The Writer to write the RDF to.
-
getWriter
Returns a new instance ofTriXWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
writer- The Writer to write the RDF to.baseURI- The URI associated with the data in the InputStream.
-