Summary: Prepare FileManager for removal from public API.
Key: JENA-1917
URL: https://issues.apache.org/jira/browse/JENA-1917
Project: Apache Jena
Issue Type: Improvement
Components: Core
Affects Versions: Jena 3.15.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Fix For: Jena 3.16.0
This is an attempt to clean something up!
I don't know how much use of the FileManager in thw wild, but aside from
with the OntDocumentManager, I'm guessing not much and in very old
application code. For old code, does that actually get updated with
newer Jena versions?
Some of thing things it provides, like caching, really don't fit very
well in general usage. Operations like read and lcoal models, are done
via RDFDataMgr.
But it does creep into some interfaces (e.g. QueryFactory).
So in a spirit of trying to make progress, this seems like a place to
try to do some clear-up.
For now, deprecate usage, especially "FileManager.get()"to signal future
change (do people actually check deprecations?!) and tidy up within
usage with Jena (use FileManager.getInternal(); rewrite usage outside
jena-core); turn it into an interface.
Andy