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.RDFHandlerExceptionpublic void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws org.openrdf.rio.RDFHandlerException
handleNamespace in interface org.openrdf.rio.RDFHandlerhandleNamespace in class org.openrdf.rio.helpers.RDFWriterBaseorg.openrdf.rio.RDFHandlerExceptionpublic void handleStatement(org.openrdf.model.Statement statement)
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic void endRDF()
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionCopyright © 2015–2016 FBK-irst. All rights reserved.