Re: Best way to read a file.

2013-07-23 Thread Andy Seaborne
Phil, http://jena.apache.org/documentation/io/index.html The FileManager functionality is subsumed by RDFDataMgr - to give application compatibility, the old class remains. In fact, during full initialization, the global FileManger is replcaed by an adapter from the old code to the new RIOT

Best way to read a file.

2013-07-23 Thread Phil Ashworth
I have successfully read a file into a model using the following code based on the some of the documented examples. String inputfile = "c://myfile.ttl"; // create an empty model com.hp.hpl.jena.rdf.model.Model model= com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(); java.io.InputStream