org.ilrt.inkling.external
Class ARPWrapper
java.lang.Object
|
+--org.ilrt.inkling.external.ARPWrapper
- All Implemented Interfaces:
- LoaderInterface
- public class ARPWrapper
- extends java.lang.Object
- implements LoaderInterface
A class to use the ARP RDF/XML parser (part of Jena:
http://www.hpl.hp.com/semweb/jena.htm)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARPWrapper
public ARPWrapper()
setBase
public void setBase(java.lang.String base)
parse
public void parse(java.io.InputStream source,
GraphInterface consumer)
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 graph)
- Description copied from interface:
LoaderInterface
- loads the file or url to the specified GraphInterface and returns it
- Specified by:
loadGraph in interface LoaderInterface