public class SesameInputAdapter extends Object implements org.openrdf.rio.RDFHandler
| Constructor and Description |
|---|
SesameInputAdapter(RDFSink sink) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRDF()
Signals the end of the RDF data.
|
void |
handleComment(String comment)
Handles a comment.
|
void |
handleNamespace(String prefix,
String uri)
Handles a namespace declaration/definition.
|
void |
handleStatement(org.openrdf.model.Statement st)
Handles a statement.
|
static org.openrdf.rio.RDFFormat |
parse(InputStream is,
RDFSink sink,
String baseUri,
org.openrdf.rio.RDFFormat format) |
void |
startRDF()
Signals the start of the RDF data.
|
public SesameInputAdapter(RDFSink sink)
public void handleComment(String comment)
handleComment in interface org.openrdf.rio.RDFHandlerpublic void handleNamespace(String prefix, String uri)
handleNamespace in interface org.openrdf.rio.RDFHandlerpublic void handleStatement(org.openrdf.model.Statement st)
handleStatement in interface org.openrdf.rio.RDFHandlerpublic void startRDF()
startRDF in interface org.openrdf.rio.RDFHandlerpublic void endRDF()
endRDF in interface org.openrdf.rio.RDFHandlerpublic static org.openrdf.rio.RDFFormat parse(InputStream is, RDFSink sink, String baseUri, org.openrdf.rio.RDFFormat format) throws RippleException
RippleExceptionCopyright © 2007-2012 fortytwo.net. All Rights Reserved.