Package org.apache.commons.vfs2.provider
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:
java.io.Closeable,java.lang.AutoCloseable,FileProvider,VfsComponent
- Direct Known Subclasses:
Tbz2FileProvider,TgzFileProvider
public abstract class CompositeFileProvider extends AbstractFileProvider
Description.
-
-
Constructor Summary
Constructors Constructor Description CompositeFileProvider()Constructs a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FileObjectfindFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.protected abstract java.lang.String[]getSchemes()The schemes known.-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer
addComponent, removeComponent
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.vfs2.provider.FileProvider
getCapabilities
-
-
-
-
Constructor Detail
-
CompositeFileProvider
public CompositeFileProvider()
Constructs a new instance.
-
-
Method Detail
-
findFile
public FileObject findFile(FileObject baseFile, java.lang.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.
-
getSchemes
protected abstract java.lang.String[] getSchemes()
The schemes known.- Returns:
- Array of supported schemes.
-
-