org.openjena.riot
Class RiotLoader

java.lang.Object
  extended by org.openjena.riot.RiotLoader

public class RiotLoader
extends java.lang.Object


Constructor Summary
RiotLoader()
           
 
Method Summary
static com.hp.hpl.jena.sparql.core.DatasetGraph datasetFromString(java.lang.String string, Lang language, java.lang.String baseURI)
          Parse a string and return the quads in a dataset (in-memory) (convenience operation)
static Sink<com.hp.hpl.jena.sparql.core.Quad> datasetSink(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)
           
static Sink<com.hp.hpl.jena.graph.Triple> graphSink(com.hp.hpl.jena.graph.Graph graph)
           
static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename)
          Parse a file and return the quads in a dataset (in-memory)
static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename, Lang lang)
          Parse a file and return the quads in a dataset (in-memory)
static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename, Lang lang, java.lang.String baseURI)
          Parse a file and return the quads in a dataset (in-memory)
static void read(java.io.InputStream input, com.hp.hpl.jena.sparql.core.DatasetGraph dataset, Lang language, java.lang.String baseURI)
          Parse an input stream and send the quads to a dataset
static void read(java.io.InputStream input, Lang language, java.lang.String baseURI, Sink<com.hp.hpl.jena.sparql.core.Quad> sink)
          Parse an input stream and send the quads to the sink
static void read(java.lang.String filename, com.hp.hpl.jena.sparql.core.DatasetGraph dataset, Lang lang, java.lang.String baseURI)
          Parse a file and send the quads to a dataset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiotLoader

public RiotLoader()
Method Detail

load

public static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename)
Parse a file and return the quads in a dataset (in-memory)


load

public static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename,
                                                            Lang lang)
Parse a file and return the quads in a dataset (in-memory)


load

public static com.hp.hpl.jena.sparql.core.DatasetGraph load(java.lang.String filename,
                                                            Lang lang,
                                                            java.lang.String baseURI)
Parse a file and return the quads in a dataset (in-memory)


datasetFromString

public static com.hp.hpl.jena.sparql.core.DatasetGraph datasetFromString(java.lang.String string,
                                                                         Lang language,
                                                                         java.lang.String baseURI)
Parse a string and return the quads in a dataset (in-memory) (convenience operation)


read

public static void read(java.lang.String filename,
                        com.hp.hpl.jena.sparql.core.DatasetGraph dataset,
                        Lang lang,
                        java.lang.String baseURI)
Parse a file and send the quads to a dataset


read

public static void read(java.io.InputStream input,
                        com.hp.hpl.jena.sparql.core.DatasetGraph dataset,
                        Lang language,
                        java.lang.String baseURI)
Parse an input stream and send the quads to a dataset


read

public static void read(java.io.InputStream input,
                        Lang language,
                        java.lang.String baseURI,
                        Sink<com.hp.hpl.jena.sparql.core.Quad> sink)
Parse an input stream and send the quads to the sink


graphSink

public static Sink<com.hp.hpl.jena.graph.Triple> graphSink(com.hp.hpl.jena.graph.Graph graph)

datasetSink

public static Sink<com.hp.hpl.jena.sparql.core.Quad> datasetSink(com.hp.hpl.jena.sparql.core.DatasetGraph dataset)


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP