Class SmbFileProvider

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.commons.vfs2.provider.FileProvider, org.apache.commons.vfs2.provider.VfsComponent

    public class SmbFileProvider
    extends org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
    implements org.apache.commons.vfs2.provider.FileProvider
    A provider for SMB (Samba, Windows share) file systems.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.commons.vfs2.UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
      Authentication data supported by this provider.
    • Constructor Summary

      Constructors 
      Constructor Description
      SmbFileProvider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.commons.vfs2.FileSystem doCreateFileSystem​(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
      Creates the filesystem.
      Collection<org.apache.commons.vfs2.Capability> getCapabilities()  
      jcifs.CIFSContext getCIFSContext()  
      • Methods inherited from class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider

        findFile, findFile, getFileSystem
      • 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 interface org.apache.commons.vfs2.provider.FileProvider

        createFileSystem, findFile, getConfigBuilder, parseUri
    • Field Detail

      • AUTHENTICATOR_TYPES

        public static final org.apache.commons.vfs2.UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
        Authentication data supported by this provider.
    • Constructor Detail

      • SmbFileProvider

        public SmbFileProvider()
    • Method Detail

      • doCreateFileSystem

        protected org.apache.commons.vfs2.FileSystem doCreateFileSystem​(org.apache.commons.vfs2.FileName name,
                                                                        org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
                                                                 throws org.apache.commons.vfs2.FileSystemException
        Creates the filesystem.
        Specified by:
        doCreateFileSystem in class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • getCIFSContext

        public jcifs.CIFSContext getCIFSContext()
      • getCapabilities

        public Collection<org.apache.commons.vfs2.Capability> getCapabilities()
        Specified by:
        getCapabilities in interface org.apache.commons.vfs2.provider.FileProvider