public class TQLWriter
extends org.openrdf.rio.helpers.RDFWriterBase
Constructor and Description |
---|
TQLWriter(OutputStream stream)
Creates a new TQLWriter that will write to the supplied OutputStream.
|
TQLWriter(Writer writer)
Creates a new TurtleWriter that will write to the supplied Writer.
|
Modifier and Type | Method and Description |
---|---|
void |
endRDF() |
org.openrdf.rio.RDFFormat |
getRDFFormat() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleStatement(org.openrdf.model.Statement statement) |
void |
startRDF() |
public TQLWriter(OutputStream stream)
stream
- the OutputStream to write topublic TQLWriter(Writer writer)
writer
- the Writer to write topublic org.openrdf.rio.RDFFormat getRDFFormat()
public void startRDF() throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void handleNamespace(String prefix, String uri) throws org.openrdf.rio.RDFHandlerException
handleNamespace
in interface org.openrdf.rio.RDFHandler
handleNamespace
in class org.openrdf.rio.helpers.RDFWriterBase
org.openrdf.rio.RDFHandlerException
public void handleStatement(org.openrdf.model.Statement statement) throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
public void endRDF() throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerException
Copyright © 2015–2016 FBK-irst. All rights reserved.