|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.impl.DefaultFileSystemManager
org.apache.commons.vfs.impl.StandardFileSystemManager
A FileSystemManager
that configures itself
from an XML (Default: providers.xml) configuration file.
Certain providers are only loaded and available if the dependend library is in your
classpath. You have to configure your debugging facility to log "debug" messages to see
if a provider was skipped due to "unresolved externals".
Constructor Summary | |
StandardFileSystemManager()
|
Method Summary | |
protected void |
configurePlugins()
Scans the classpath to find any droped plugin. |
protected DefaultFileReplicator |
createDefaultFileReplicator()
|
void |
init()
Initializes this manager. |
void |
setClassLoader(ClassLoader classLoader)
Sets the ClassLoader to use to load the providers. |
void |
setConfiguration(String configUri)
Sets the configuration file for this manager. |
void |
setConfiguration(URL configUri)
Sets the configuration file for this manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardFileSystemManager()
Method Detail |
public void setConfiguration(String configUri)
public void setConfiguration(URL configUri)
public void setClassLoader(ClassLoader classLoader)
public void init() throws FileSystemException
init
in class DefaultFileSystemManager
FileSystemException
protected void configurePlugins() throws FileSystemException
FileSystemException
protected DefaultFileReplicator createDefaultFileReplicator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |