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 aISqlJetFileSystemby name.static SqlJetFileSystemsManagerSingleton accessor.voidregister(ISqlJetFileSystem fs, boolean isDefault) Register aISqlJetFileSystemwith the system.voidUnregister aISqlJetFileSystemso 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:ISqlJetFileSystemsManagerLocate aISqlJetFileSystemby name. If no name is given, simply return the defaultISqlJetFileSystem.- Specified by:
findin interfaceISqlJetFileSystemsManager- Parameters:
name-- Returns:
-
register
Description copied from interface:ISqlJetFileSystemsManagerRegister aISqlJetFileSystemwith the system. It is harmless to register the sameISqlJetFileSystemmultiple times. The newISqlJetFileSystembecomes the default if isDefault is true.- Specified by:
registerin interfaceISqlJetFileSystemsManager- Parameters:
fs-isDefault-- Throws:
SqlJetException
-
unregister
Description copied from interface:ISqlJetFileSystemsManagerUnregister aISqlJetFileSystemso that it is no longer accessible.- Specified by:
unregisterin interfaceISqlJetFileSystemsManager- Parameters:
fs-- Throws:
SqlJetException
-