Package com.sshtools.vfs.smbng
Class SmbFileProvider
- 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.AbstractOriginatingFileProvider
-
- com.sshtools.vfs.smbng.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.FileProviderA provider for SMB (Samba, Windows share) file systems.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.vfs2.UserAuthenticationData.Type[]AUTHENTICATOR_TYPESAuthentication 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.FileSystemdoCreateFileSystem(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)Creates the filesystem.Collection<org.apache.commons.vfs2.Capability>getCapabilities()jcifs.CIFSContextgetCIFSContext()-
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
-
-
-
-
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.FileSystemExceptionCreates the filesystem.- Specified by:
doCreateFileSystemin classorg.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:
getCapabilitiesin interfaceorg.apache.commons.vfs2.provider.FileProvider
-
-