public class SftpFileProvider extends AbstractOriginatingFileProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_USER_INFO |
static UserAuthenticationData.Type[] |
AUTHENTICATOR_TYPES |
protected static java.util.Collection |
capabilities |
| Constructor and Description |
|---|
SftpFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem. |
java.util.Collection |
getCapabilities()
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
FileSystemConfigBuilder |
getConfigBuilder()
Gets the configbuilder useable to collect the needed fileSystemOptions.
|
void |
init()
Initialises the component.
|
findFile, findFileaddFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, setContext, setLoggerprotected static final java.util.Collection capabilities
public static final java.lang.String ATTR_USER_INFO
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected 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.FileSystemExceptionpublic void init()
throws FileSystemException
init in interface VfsComponentinit in class AbstractVfsComponentFileSystemExceptionpublic FileSystemConfigBuilder getConfigBuilder()
FileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic java.util.Collection getCapabilities()
FileProvider