Package net.ontopia.topicmaps.utils.rdf
Class RDFUtils
java.lang.Object
net.ontopia.topicmaps.utils.rdf.RDFUtils
INTERNAL: Various utilities for working with RDF.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidparseRDFXML(InputStream in, org.apache.jena.rdfxml.xmlinput.StatementHandler handler) Parses the RDF/XML at the given InputStream into the given StatementHandler.static voidparseRDFXML(URL url, org.apache.jena.rdfxml.xmlinput.StatementHandler handler) Parses the RDF/XML at the given URL into the given StatementHandler.
-
Constructor Details
-
RDFUtils
public RDFUtils()
-
-
Method Details
-
parseRDFXML
public static void parseRDFXML(URL url, org.apache.jena.rdfxml.xmlinput.StatementHandler handler) throws IOException Parses the RDF/XML at the given URL into the given StatementHandler.- Throws:
IOException
-
parseRDFXML
public static void parseRDFXML(InputStream in, org.apache.jena.rdfxml.xmlinput.StatementHandler handler) throws IOException Parses the RDF/XML at the given InputStream into the given StatementHandler.- Throws:
IOException
-