NQuadsWriter
instead@Deprecated public class NQuadsWriter extends org.openrdf.rio.helpers.RDFWriterBase
Constructor and Description |
---|
NQuadsWriter(OutputStream out)
Deprecated.
Creates a new NQuadsWriter that will write to the supplied OutputStream.
|
NQuadsWriter(Writer writer)
Deprecated.
Creates a new NQuadsWriter that will write to the supplied Writer.
|
Modifier and Type | Method and Description |
---|---|
void |
endRDF()
Deprecated.
|
org.openrdf.rio.RDFFormat |
getRDFFormat()
Deprecated.
|
void |
handleComment(String comment)
Deprecated.
|
void |
handleNamespace(String prefix,
String name)
Deprecated.
|
void |
handleStatement(org.openrdf.model.Statement st)
Deprecated.
|
void |
startRDF()
Deprecated.
|
public NQuadsWriter(OutputStream out)
out
- The OutputStream to write the N-Quads document to.public NQuadsWriter(Writer writer)
writer
- The Writer to write the N-Quads document to.public org.openrdf.rio.RDFFormat getRDFFormat()
public void startRDF() throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void endRDF() throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void handleNamespace(String prefix, String name)
handleNamespace
in interface org.openrdf.rio.RDFHandler
handleNamespace
in class org.openrdf.rio.helpers.RDFWriterBase
public void handleStatement(org.openrdf.model.Statement st) throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException