Package org.eclipse.rdf4j.rio.binary
Class BinaryRDFWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.binary.BinaryRDFWriterFactory
- All Implemented Interfaces:
RDFWriterFactory
An
RDFWriterFactory
for Binary RDF writers.- Author:
- Arjohn Kampman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsRDFFormat.BINARY
.getWriter
(OutputStream out) Returns a new instance ofBinaryRDFWriter
.getWriter
(OutputStream out, String baseURI) Returns an RDFWriter instance that will write to the supplied output stream.throws UnsupportedOperationExceptionthrows UnsupportedOperationException
-
Constructor Details
-
BinaryRDFWriterFactory
public BinaryRDFWriterFactory()
-
-
Method Details
-
getRDFFormat
ReturnsRDFFormat.BINARY
.- Specified by:
getRDFFormat
in interfaceRDFWriterFactory
-
getWriter
Returns a new instance ofBinaryRDFWriter
.- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
out
- The OutputStream to write the RDF to.
-
getWriter
Description copied from interface:RDFWriterFactory
Returns an RDFWriter instance that will write to the supplied output stream. Using the supplied baseURI to relativize IRIs to relative IRIs.- 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
throws UnsupportedOperationException- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.
-
getWriter
throws UnsupportedOperationException- Specified by:
getWriter
in interfaceRDFWriterFactory
- Parameters:
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.
-