Class FilteredFileSystemManager<M extends org.apache.commons.vfs2.FileSystemManager>

  • All Implemented Interfaces:
    AutoCloseable, org.apache.commons.vfs2.FileSystemManager

    public class FilteredFileSystemManager<M extends org.apache.commons.vfs2.FileSystemManager>
    extends Object
    implements org.apache.commons.vfs2.FileSystemManager
    • Field Detail

      • underlying

        protected M extends org.apache.commons.vfs2.FileSystemManager underlying
    • Constructor Detail

      • FilteredFileSystemManager

        public FilteredFileSystemManager​(M underlying)
    • Method Detail

      • getUnderlying

        public M getUnderlying()
      • getBaseFile

        public org.apache.commons.vfs2.FileObject getBaseFile()
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        getBaseFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(String name)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(String name,
                                                              org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(org.apache.commons.vfs2.FileObject baseFile,
                                                              String name)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(File baseFile,
                                                              String name)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveName

        public org.apache.commons.vfs2.FileName resolveName​(org.apache.commons.vfs2.FileName root,
                                                            String name)
                                                     throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveName in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveName

        public org.apache.commons.vfs2.FileName resolveName​(org.apache.commons.vfs2.FileName root,
                                                            String name,
                                                            org.apache.commons.vfs2.NameScope scope)
                                                     throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveName in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • toFileObject

        public org.apache.commons.vfs2.FileObject toFileObject​(File file)
                                                        throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        toFileObject in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • createFileSystem

        public org.apache.commons.vfs2.FileObject createFileSystem​(String provider,
                                                                   org.apache.commons.vfs2.FileObject file)
                                                            throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        createFileSystem in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • closeFileSystem

        public void closeFileSystem​(org.apache.commons.vfs2.FileSystem filesystem)
        Specified by:
        closeFileSystem in interface org.apache.commons.vfs2.FileSystemManager
      • createFileSystem

        public org.apache.commons.vfs2.FileObject createFileSystem​(org.apache.commons.vfs2.FileObject file)
                                                            throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        createFileSystem in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • createVirtualFileSystem

        public org.apache.commons.vfs2.FileObject createVirtualFileSystem​(String rootUri)
                                                                   throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        createVirtualFileSystem in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • createVirtualFileSystem

        public org.apache.commons.vfs2.FileObject createVirtualFileSystem​(org.apache.commons.vfs2.FileObject rootFile)
                                                                   throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        createVirtualFileSystem in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • getURLStreamHandlerFactory

        public URLStreamHandlerFactory getURLStreamHandlerFactory()
        Specified by:
        getURLStreamHandlerFactory in interface org.apache.commons.vfs2.FileSystemManager
      • canCreateFileSystem

        public boolean canCreateFileSystem​(org.apache.commons.vfs2.FileObject file)
                                    throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        canCreateFileSystem in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • getFilesCache

        public org.apache.commons.vfs2.FilesCache getFilesCache()
        Specified by:
        getFilesCache in interface org.apache.commons.vfs2.FileSystemManager
      • getCacheStrategy

        public org.apache.commons.vfs2.CacheStrategy getCacheStrategy()
        Specified by:
        getCacheStrategy in interface org.apache.commons.vfs2.FileSystemManager
      • getFileObjectDecorator

        public Class<?> getFileObjectDecorator()
        Specified by:
        getFileObjectDecorator in interface org.apache.commons.vfs2.FileSystemManager
      • getFileObjectDecoratorConst

        public Constructor<?> getFileObjectDecoratorConst()
        Specified by:
        getFileObjectDecoratorConst in interface org.apache.commons.vfs2.FileSystemManager
      • getFileContentInfoFactory

        public org.apache.commons.vfs2.FileContentInfoFactory getFileContentInfoFactory()
        Specified by:
        getFileContentInfoFactory in interface org.apache.commons.vfs2.FileSystemManager
      • hasProvider

        public boolean hasProvider​(String scheme)
        Specified by:
        hasProvider in interface org.apache.commons.vfs2.FileSystemManager
      • getSchemes

        public String[] getSchemes()
        Specified by:
        getSchemes in interface org.apache.commons.vfs2.FileSystemManager
      • getProviderCapabilities

        public Collection<org.apache.commons.vfs2.Capability> getProviderCapabilities​(String scheme)
                                                                               throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        getProviderCapabilities in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • setLogger

        public void setLogger​(org.apache.commons.logging.Log log)
        Specified by:
        setLogger in interface org.apache.commons.vfs2.FileSystemManager
      • getFileSystemConfigBuilder

        public org.apache.commons.vfs2.FileSystemConfigBuilder getFileSystemConfigBuilder​(String scheme)
                                                                                   throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        getFileSystemConfigBuilder in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveURI

        public org.apache.commons.vfs2.FileName resolveURI​(String uri)
                                                    throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveURI in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • addOperationProvider

        public void addOperationProvider​(String scheme,
                                         org.apache.commons.vfs2.operations.FileOperationProvider operationProvider)
                                  throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        addOperationProvider in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • addOperationProvider

        public void addOperationProvider​(String[] schemes,
                                         org.apache.commons.vfs2.operations.FileOperationProvider operationProvider)
                                  throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        addOperationProvider in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • getOperationProviders

        public org.apache.commons.vfs2.operations.FileOperationProvider[] getOperationProviders​(String scheme)
                                                                                         throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        getOperationProviders in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(URI uri)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • resolveFile

        public org.apache.commons.vfs2.FileObject resolveFile​(URL url)
                                                       throws org.apache.commons.vfs2.FileSystemException
        Specified by:
        resolveFile in interface org.apache.commons.vfs2.FileSystemManager
        Throws:
        org.apache.commons.vfs2.FileSystemException