|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.truezip.fs.sl.FsDriverLocator
@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public final class FsDriverLocator
Locates all file system drivers found on the class path.
The map of file system drivers is populated by instantiating all classes
which are named in the resource files with the name
"META-INF/services/de.schlichtherle.truezip.fs.spi.FsDriverService"
on the class path by calling their no-arg constructor.
If no file system drivers are found, a ServiceConfigurationError is
thrown.
| Field Summary | |
|---|---|
private Map<FsScheme,FsDriver> |
drivers
|
static FsDriverLocator |
SINGLETON
The singleton instance of this class. |
| Constructor Summary | |
|---|---|
private |
FsDriverLocator()
You cannot instantiate this class. |
| Method Summary | |
|---|---|
Map<FsScheme,FsDriver> |
get()
Returns an immutable map of file system schemes to drivers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final FsDriverLocator SINGLETON
private final Map<FsScheme,FsDriver> drivers
| Constructor Detail |
|---|
private FsDriverLocator()
| Method Detail |
|---|
public Map<FsScheme,FsDriver> get()
FsDriverProvidernull,
its values must be nullable.
Calling this method several times should return a map which compares
equal to each other in order to ensure a
consistent file system implementation scheme.
get in interface FsDriverProvider
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||