Class SmbFileSystem

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

    public class SmbFileSystem
    extends org.apache.commons.vfs2.provider.AbstractFileSystem
    An SMB file system.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SmbFileSystem​(org.apache.commons.vfs2.FileName rootName, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addCapabilities​(Collection<org.apache.commons.vfs2.Capability> caps)
      Returns the capabilities of this file system.
      protected org.apache.commons.vfs2.FileObject createFile​(org.apache.commons.vfs2.provider.AbstractFileName name)
      Creates a file object.
      • Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem

        addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
      • Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent

        getContext, getLogger, setContext, setLogger
    • Constructor Detail

      • SmbFileSystem

        protected SmbFileSystem​(org.apache.commons.vfs2.FileName rootName,
                                org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
    • Method Detail

      • createFile

        protected org.apache.commons.vfs2.FileObject createFile​(org.apache.commons.vfs2.provider.AbstractFileName name)
                                                         throws org.apache.commons.vfs2.FileSystemException
        Creates a file object.
        Specified by:
        createFile in class org.apache.commons.vfs2.provider.AbstractFileSystem
        Throws:
        org.apache.commons.vfs2.FileSystemException
      • addCapabilities

        protected void addCapabilities​(Collection<org.apache.commons.vfs2.Capability> caps)
        Returns the capabilities of this file system.
        Specified by:
        addCapabilities in class org.apache.commons.vfs2.provider.AbstractFileSystem