public class SftpFileProvider extends AbstractOriginatingFileProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_USER_INFO
User Information.
|
static UserAuthenticationData.Type[] |
AUTHENTICATOR_TYPES
Authentication types.
|
protected static java.util.Collection<Capability> |
capabilities
The provider's capabilities.
|
| Constructor and Description |
|---|
SftpFileProvider()
Constructs a new provider.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static com.jcraft.jsch.Session |
createSession(GenericFileName rootName,
FileSystemOptions fileSystemOptions)
Creates a new Session.
|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem. |
java.util.Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
FileSystemConfigBuilder |
getConfigBuilder()
Returns the FileSystemConfigBuidler.
|
findFile, findFile, getFileSystemaddFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerpublic static final java.lang.String ATTR_USER_INFO
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected static final java.util.Collection<Capability> capabilities
static com.jcraft.jsch.Session createSession(GenericFileName rootName, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemExceptionprotected FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystem.doCreateFileSystem in class AbstractOriginatingFileProvidername - The name of the root file of the file system to create.fileSystemOptions - The FileSystem options.FileSystemException - if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic java.util.Collection<Capability> getCapabilities()
FileProviderThese are the same as on the file system, but available before the first file system was instanciated.