|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystemsManager
public class SqlJetFileSystemsManager
Singleton implementation of ISqlJetFileSystemsManager
.
Constructor Summary | |
---|---|
protected |
SqlJetFileSystemsManager()
Protected constructor |
Method Summary | |
---|---|
ISqlJetFileSystem |
find(java.lang.String name)
Locate a ISqlJetFileSystem by name. |
static SqlJetFileSystemsManager |
getManager()
Singleton accessor. |
void |
register(ISqlJetFileSystem fs,
boolean isDefault)
Register a ISqlJetFileSystem with the system. |
void |
unregister(ISqlJetFileSystem fs)
Unregister a ISqlJetFileSystem 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 Detail |
---|
protected SqlJetFileSystemsManager()
Method Detail |
---|
public static SqlJetFileSystemsManager getManager()
public ISqlJetFileSystem find(java.lang.String name)
ISqlJetFileSystemsManager
ISqlJetFileSystem
by name. If no name is given, simply return the
default ISqlJetFileSystem
.
find
in interface ISqlJetFileSystemsManager
public void register(ISqlJetFileSystem fs, boolean isDefault) throws SqlJetException
ISqlJetFileSystemsManager
ISqlJetFileSystem
with the system. It is harmless to register the same
ISqlJetFileSystem
multiple times. The new ISqlJetFileSystem
becomes
the default if isDefault is true.
register
in interface ISqlJetFileSystemsManager
SqlJetException
public void unregister(ISqlJetFileSystem fs) throws SqlJetException
ISqlJetFileSystemsManager
ISqlJetFileSystem
so that it is no longer accessible.
unregister
in interface ISqlJetFileSystemsManager
SqlJetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |