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 aISqlJetFileSystemby name.static SqlJetFileSystemsManagerSingleton accessor.voidregister(ISqlJetFileSystem fs, boolean isDefault) Register aISqlJetFileSystemwith the system.voidUnregister aISqlJetFileSystemso 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:ISqlJetFileSystemsManagerLocate aISqlJetFileSystemby name. If no name is given, simply return the defaultISqlJetFileSystem.- Specified by:
findin interfaceISqlJetFileSystemsManager- 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- Throws:
SqlJetException
-
unregister
Description copied from interface:ISqlJetFileSystemsManagerUnregister aISqlJetFileSystemso that it is no longer accessible.- Specified by:
unregisterin interfaceISqlJetFileSystemsManager- Throws:
SqlJetException
-