public class Utility extends Object
Constructor and Description |
---|
Utility(ProvFactory pFactory,
Ontology onto) |
Modifier and Type | Method and Description |
---|---|
void |
dumpRDF(Document document,
org.openrdf.rio.RDFFormat format,
OutputStream os) |
void |
dumpRDF(Document document,
org.openrdf.rio.RDFFormat format,
String filename) |
Document |
parseRDF(InputStream inputStream,
org.openrdf.rio.RDFFormat format,
String baseuri)
Parse from input stream, no base uri specified.
|
Document |
parseRDF(InputStream inputStream,
org.openrdf.rio.RDFParser rdfParser,
String baseuri)
Parse from input stream passing base uri .
|
Document |
parseRDF(String filename) |
public Utility(ProvFactory pFactory, Ontology onto)
public Document parseRDF(String filename) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException, JAXBException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
JAXBException
public Document parseRDF(InputStream inputStream, org.openrdf.rio.RDFFormat format, String baseuri) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
public Document parseRDF(InputStream inputStream, org.openrdf.rio.RDFParser rdfParser, String baseuri) throws IOException, org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
public void dumpRDF(Document document, org.openrdf.rio.RDFFormat format, OutputStream os)
Copyright © 2016. All rights reserved.