@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FsDriverService extends java.lang.Object implements FsDriverProvider
FsDriverLocator.
Implementations must be thread-safe.
| Constructor and Description |
|---|
FsDriverService() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<FsScheme,FsDriver> |
newMap(java.lang.Object[][] config)
A static factory method for an unmodifiable driver map which is
constructed from the given configuration.
|
private static FsDriver |
toDriver(java.lang.Object driver) |
private static java.util.Collection<FsScheme> |
toSchemes(java.lang.Object o) |
java.lang.String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetpublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.util.Map<FsScheme,FsDriver> newMap(java.lang.Object[][] config)
FsDriverProvider interface for convenient creation of the
map to return by their 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 system 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 object, a
file system driver class, a
fully qualified name of a file system driver class,
or null.FsDriverProvider.get().java.lang.NullPointerException - if a required configuration element is
null.java.lang.IllegalArgumentException - if any other parameter precondition
does not hold.Syntax contraints for suffix lists.@NonNull private static java.util.Collection<FsScheme> toSchemes(@NonNull java.lang.Object o)
@CheckForNull private static FsDriver toDriver(@CheckForNull java.lang.Object driver)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.