org.jrdf.parser
Class RdfReader
java.lang.Object
org.jrdf.parser.RdfReader
public final class RdfReader
- extends Object
A simple factory for creating graphs given a file - everything is in memory by default. Or a new MapFactory and
JRDF Factory can be given to make it persistent.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RdfReader
public RdfReader()
RdfReader
public RdfReader(Graph newGraph,
MapFactory newMapFactory)
parseNTriples
public Graph parseNTriples(File file)
parseNTriples
public Graph parseNTriples(InputStream stream)
parseTurtle
public Graph parseTurtle(File file)
parseTurtle
public Graph parseTurtle(InputStream stream)
parseRdfXml
public Graph parseRdfXml(File file)
parseRdfXml
public Graph parseRdfXml(InputStream stream)