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 TypeMethodDescriptionLocate 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.
-
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
- Parameters:
name
-- 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
- Parameters:
fs
-isDefault
-- Throws:
SqlJetException
-
unregister
Description copied from interface:ISqlJetFileSystemsManager
Unregister aISqlJetFileSystem
so that it is no longer accessible.- Specified by:
unregister
in interfaceISqlJetFileSystemsManager
- Parameters:
fs
-- Throws:
SqlJetException
-