public class NQuadsWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory
for N-Quads
writers.Constructor and Description |
---|
NQuadsWriterFactory() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.NQUADS . |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
NQuadsWriter . |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
NQuadsWriter . |
public RDFFormat getRDFFormat()
RDFFormat.NQUADS
.getRDFFormat
in interface RDFWriterFactory
public RDFWriter getWriter(OutputStream out)
NQuadsWriter
.getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.public RDFWriter getWriter(Writer writer)
NQuadsWriter
.getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.Copyright © 2001-2016 Aduna. All Rights Reserved.