public class CompactBNodeTurtleWriter
extends org.openrdf.rio.turtle.TurtleWriter
Constructor and Description |
---|
CompactBNodeTurtleWriter(OutputStream out)
Creates a new TurtleWriter that will write to the supplied OutputStream.
|
CompactBNodeTurtleWriter(Writer writer)
Creates a new TurtleWriter that will write to the supplied Writer.
|
Modifier and Type | Method and Description |
---|---|
void |
endRDF() |
void |
handleStatement(org.openrdf.model.Statement st)
Handles a statement.
|
static void |
main(String[] args) |
getRDFFormat, handleComment, handleNamespace, startRDF
getSupportedSettings, getWriterConfig, setWriterConfig
public CompactBNodeTurtleWriter(OutputStream out)
out
- The OutputStream to write the Turtle document to.public CompactBNodeTurtleWriter(Writer writer)
writer
- The Writer to write the Turtle document to.public void handleStatement(org.openrdf.model.Statement st) throws org.openrdf.rio.RDFHandlerException
handleStatement
in interface org.openrdf.rio.RDFHandler
handleStatement
in class org.openrdf.rio.turtle.TurtleWriter
st
- The statement.org.openrdf.rio.RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.public void endRDF() throws org.openrdf.rio.RDFHandlerException
endRDF
in interface org.openrdf.rio.RDFHandler
endRDF
in class org.openrdf.rio.turtle.TurtleWriter
org.openrdf.rio.RDFHandlerException
public static void main(String[] args)
Copyright © 2015 SemaGrow - FP7. All rights reserved.