Class SqlJetFileSystemsManager
java.lang.Object
org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystemsManager
- All Implemented Interfaces:
ISqlJetFileSystemsManager
Singleton implementation of
ISqlJetFileSystemsManager
.- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind
(java.lang.String name) Locate aISqlJetFileSystem
by name.static SqlJetFileSystemsManager
Singleton accessor.void
register
(ISqlJetFileSystem fs, boolean isDefault) Register aISqlJetFileSystem
with the system.void
Unregister aISqlJetFileSystem
so that it is no longer accessible.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SqlJetFileSystemsManager
protected SqlJetFileSystemsManager()Protected constructor
-
-
Method Details
-
getManager
Singleton accessor.- Returns:
- the manager
-
find
Description copied from interface:ISqlJetFileSystemsManager
Locate aISqlJetFileSystem
by name. If no name is given, simply return the defaultISqlJetFileSystem
.- Specified by:
find
in interfaceISqlJetFileSystemsManager
- Returns:
-
register
Description copied from interface:ISqlJetFileSystemsManager
Register aISqlJetFileSystem
with the system. It is harmless to register the sameISqlJetFileSystem
multiple times. The newISqlJetFileSystem
becomes the default if isDefault is true.- Specified by:
register
in interfaceISqlJetFileSystemsManager
- Throws:
SqlJetException
-
unregister
Description copied from interface:ISqlJetFileSystemsManager
Unregister aISqlJetFileSystem
so that it is no longer accessible.- Specified by:
unregister
in interfaceISqlJetFileSystemsManager
- Throws:
SqlJetException
-