public class NQuadsWriter extends NTriplesWriter
N-Quads
RDF format.writer
namespaceTable, statementConsumer
Constructor and Description |
---|
NQuadsWriter(OutputStream outputStream) |
NQuadsWriter(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
consumeStatement(Statement st)
Consume a statement.
|
RDFFormat |
getRDFFormat()
Gets the RDF format that this RDFWriter uses.
|
endRDF, getSupportedSettings, handleComment, handleNamespace, startRDF, writeValue
checkWritingStarted, getOutputStream, getWriterConfig, handleStatement, isWritingStarted, set, setWriterConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOutputStream, getWriterConfig, set, setWriterConfig
handleStatement
public NQuadsWriter(OutputStream outputStream)
public NQuadsWriter(Writer writer)
public RDFFormat getRDFFormat()
RDFWriter
getRDFFormat
in interface RDFWriter
getRDFFormat
in class NTriplesWriter
public void consumeStatement(Statement st) throws RDFHandlerException
AbstractRDFWriter
AbstractRDFWriter.handleStatement(Statement)
in order to
benefit from automatic handling of RDF* conversion or encoding.consumeStatement
in class NTriplesWriter
st
- the statement to consume.RDFHandlerException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.