public class StandardFileSystemManager extends DefaultFileSystemManager
FileSystemManager
that configures itself
from an XML (Default: providers.xml) configuration file.Constructor and Description |
---|
StandardFileSystemManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
configurePlugins()
Scans the classpath to find any droped plugin.
The plugin-description has to be in /META-INF/vfs-providers.xml |
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.
|
_closeFileSystem, addExtensionMap, addMimeTypeMap, addOperationProvider, addOperationProvider, addProvider, addProvider, canCreateFileSystem, close, closeFileSystem, createFileSystem, createFileSystem, createVirtualFileSystem, createVirtualFileSystem, freeUnusedResources, getBaseFile, getCacheStrategy, getFileContentInfoFactory, getFileObjectDecorator, getFileObjectDecoratorConst, getFilesCache, getFileSystemConfigBuilder, getLogger, getOperationProviders, getProviderCapabilities, getReplicator, getSchemes, getTemporaryFileStore, getURLStreamHandlerFactory, hasProvider, resolveFile, resolveFile, resolveFile, resolveFile, resolveFile, resolveName, resolveName, resolveURI, setBaseFile, setBaseFile, setCacheStrategy, setDefaultProvider, setFileContentInfoFactory, setFileObjectDecorator, setFilesCache, setLogger, setReplicator, setTemporaryFileStore, toFileObject
public void setConfiguration(String configUri)
configUri
- The URI for this manager.public void setConfiguration(URL configUri)
configUri
- The URI forthis manager.public void setClassLoader(ClassLoader classLoader)
classLoader
- The ClassLoader.public void init() throws FileSystemException
init
in class DefaultFileSystemManager
FileSystemException
- if an error occurs.protected void configurePlugins() throws FileSystemException
FileSystemException
- if an error occurs.protected DefaultFileReplicator createDefaultFileReplicator()
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.