On 25/08/14 18:58, Hubert A Le Van Gong wrote:
Actually this does not work because I need a dataset to invoke isBackedByTDB()
or location().
So restating my question a bit: given a directory (String), what is the best
way to verify that the dataset exists at the data store level?
Thanks,
Hubert
Location.exists()
There isn't a way to verify it is a TDB-formatted directory (TDB
autoformats anyway).
Looking for some necessary files (e.g. SPO.dat, SPO.idn) in the Location
should work.
Andy
On Aug 25, 2014, at 10:11 AM, Hubert A Le Van Gong <[email protected]> wrote:
Hello,
Is TDBFactory.isBackedByTDB() the proper way to simply test for the existence
of a dataset?
Thanks,
Hubert