org.ilrt.inkling.external
Class RioWrapper
java.lang.Object
|
+--org.ilrt.inkling.external.RioWrapper
- All Implemented Interfaces:
- LoaderInterface
- public class RioWrapper
- extends java.lang.Object
- implements LoaderInterface
A class to use the RIO RDF/XML parser (part of Sesame:
http://sesame.aidministrator.nl/)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RioWrapper
public RioWrapper()
setBase
public void setBase(java.lang.String base)
parse
public void parse(java.io.InputStream source,
GraphInterface consumer)
throws java.io.IOException,
nl.aidministrator.rdf.io.ParseException
loadGraph
public GraphInterface loadGraph(java.lang.String url)
- Description copied from interface:
LoaderInterface
- loads the file or url to a Graph and returns it
- Specified by:
loadGraph in interface LoaderInterface
loadGraph
public GraphInterface loadGraph(java.lang.String url,
GraphInterface rdf)
- Description copied from interface:
LoaderInterface
- loads the file or url to the specified GraphInterface and returns it
- Specified by:
loadGraph in interface LoaderInterface