public abstract class FsDriverService extends Object implements FsDriverProvider
FsDriverLocator
.
Implementations must be thread-safe.
Constructor and Description |
---|
FsDriverService() |
Modifier and Type | Method and Description |
---|---|
static Map<FsScheme,FsDriver> |
newMap(Object[][] config)
A static factory method for an unmodifiable driver map which is
constructed from the given configuration.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get
public static Map<FsScheme,FsDriver> newMap(Object[][] config)
FsDriverProvider.get()
method.config
- an array of key-value pair arrays.
The first element of each inner array must either be a
file system scheme
, an object o
which
can get converted to a set of file name suffixes by calling
new SuffixSet
(o.toString())
or a collection
of these.
The second element of each inner array must either be a
file system driver instance
, a
file system driver class
, a
fully qualified name of a file system driver class
,
or null
.NullPointerException
- if a required configuration element is
null
.IllegalArgumentException
- if any other parameter precondition
does not hold.Syntax contraints for suffix lists.
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.