public class JsonldLoader extends Object
| Constructor and Description |
|---|
JsonldLoader() |
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.model.URI |
getQuadContext() |
void |
load(InputStream input,
Graph graph) |
void |
load(InputStream input,
Graph graph,
ContextManager contextManager,
NamespaceManager nsManager) |
void |
load(Reader reader,
Graph graph)
Load the contents of a JSON-LD document into a Graph.
|
void |
load(Reader reader,
Graph graph,
ContextManager contextManager) |
void |
load(Reader reader,
Graph graph,
ContextManager contextManager,
NamespaceManager nsManager) |
void |
setQuadContext(org.openrdf.model.URI quadContext) |
public void load(Reader reader, Graph graph) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
reader - A reader for the JSON-LD documentgraph - The graph into which RDF Statements will be added.IOExceptionorg.openrdf.rio.RDFHandlerExceptionorg.openrdf.rio.RDFParseExceptionpublic void load(Reader reader, Graph graph, ContextManager contextManager) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void load(InputStream input, Graph graph, ContextManager contextManager, NamespaceManager nsManager) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void load(InputStream input, Graph graph) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void load(Reader reader, Graph graph, ContextManager contextManager, NamespaceManager nsManager) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionpublic org.openrdf.model.URI getQuadContext()
public void setQuadContext(org.openrdf.model.URI quadContext)
Copyright © 2019. All rights reserved.