[
https://issues.apache.org/jira/browse/JENA-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624754#comment-14624754
]
Andy Seaborne commented on JENA-988:
------------------------------------
It is possible to do this by simply testing for the presence of the directory
where the store might be in the usual java way.
There is some private code {[DatasetBuilderStd.isNewDatabaseArea}} that takes a
pragmatic approach. It uses {{File.exists}} and tries to look for "tdb.cfg".
But because older versions of TDb did not have a configuration file, full
reliable testing is not possible.
> Open TDB store if exists
> ------------------------
>
> Key: JENA-988
> URL: https://issues.apache.org/jira/browse/JENA-988
> Project: Apache Jena
> Issue Type: New Feature
> Components: Core
> Reporter: Eugene Tenkaev
> Priority: Minor
>
> Need method for opening TDB store if it exists in specified location without
> automatic creation of new one.
> For example:{code}TDBFactory.openDatasetGraph{code}
> Currently we have only one method: {code}TDBFactory.createDatasetGraph{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)