Class CompositeFileProvider
java.lang.Object
org.apache.commons.vfs.provider.AbstractVfsComponent
org.apache.commons.vfs.provider.AbstractVfsContainer
org.apache.commons.vfs.provider.AbstractFileProvider
org.apache.commons.vfs.provider.CompositeFileProvider
- All Implemented Interfaces:
FileProvider, VfsComponent
- Direct Known Subclasses:
Tbz2FileProvider, TgzFileProvider
Description
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Mario Ivankovits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected abstract String[]The schemes to use for resolveMethods inherited from class AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParserMethods inherited from class AbstractVfsContainer
addComponent, removeComponentMethods inherited from class AbstractVfsComponent
getContext, getLogger, init, setContext, setLoggerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FileProvider
getCapabilities
-
Constructor Details
-
CompositeFileProvider
public CompositeFileProvider()
-
-
Method Details
-
getSchemes
The schemes to use for resolve -
findFile
public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) throws FileSystemException Locates a file object, by absolute URI.- Parameters:
baseFile- The base file to use for resolving the individual parts of a compound URI.uri- The absolute URI of the file to find.fileSystemOptions-- Throws:
FileSystemException
-