public class RDFModelReader extends AbstractRDFReader implements RDFReader
RDFModelReader class.
| Constructor and Description |
|---|
RDFModelReader(com.hp.hpl.jena.rdf.model.Model model)
Constructor for RDFModelReader.
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
read()
Reads RDF and returns a
Model |
void |
read(com.hp.hpl.jena.rdf.model.Model model)
Reads RDF and writes the data in the Model provided by the user
|
void |
readDataset(com.hp.hpl.jena.query.Dataset dataset)
readDataset.
|
String |
toString() |
readDatasetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadDatasetpublic RDFModelReader(com.hp.hpl.jena.rdf.model.Model model)
Constructor for RDFModelReader.
model - a Model object.public com.hp.hpl.jena.rdf.model.Model read()
throws RDFReaderException
Modelread in interface RDFReaderread in class AbstractRDFReaderModel with the data readRDFReaderException - if any.public void read(com.hp.hpl.jena.rdf.model.Model model)
throws RDFReaderException
read in interface RDFReadermodel - the model we want to write our data intoRDFReaderException - if any.public void readDataset(com.hp.hpl.jena.query.Dataset dataset)
throws RDFReaderException
readDataset.
readDataset in interface RDFReaderdataset - a Dataset object.RDFReaderException - if any.Copyright © 2015. All rights reserved.