Class CompositeFileProvider
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.CompositeFileProvider
- All Implemented Interfaces:
Closeable, AutoCloseable, FileProvider, VfsComponent
- Direct Known Subclasses:
Tbz2FileProvider, TgzFileProvider
Description.
-
Field Summary
Fields -
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 known.Methods 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
-
Field Details
-
INITIAL_BUFSZ
private static final int INITIAL_BUFSZ- See Also:
-
-
Constructor Details
-
CompositeFileProvider
public CompositeFileProvider()
-
-
Method Details
-
getSchemes
-
findFile
public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) throws FileSystemException Locates a file object, by absolute URI.- Parameters:
baseFile- The base FileObject.uri- The file to find.fileSystemOptions- The options for the FileSystem.- Returns:
- A FileObject for the located file.
- Throws:
FileSystemException- if an error occurs.
-