Package com.sshtools.vfs.smbng
Class SmbFileSystem
- java.lang.Object
-
- org.apache.commons.vfs2.provider.AbstractVfsComponent
-
- org.apache.commons.vfs2.provider.AbstractFileSystem
-
- com.sshtools.vfs.smbng.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.AbstractFileSystemAn SMB file system.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSmbFileSystem(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 voidaddCapabilities(Collection<org.apache.commons.vfs2.Capability> caps)Returns the capabilities of this file system.protected org.apache.commons.vfs2.FileObjectcreateFile(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
-
-
-
-
Method Detail
-
createFile
protected org.apache.commons.vfs2.FileObject createFile(org.apache.commons.vfs2.provider.AbstractFileName name) throws org.apache.commons.vfs2.FileSystemExceptionCreates a file object.- Specified by:
createFilein classorg.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:
addCapabilitiesin classorg.apache.commons.vfs2.provider.AbstractFileSystem
-
-