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, findFile
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, setContext, setLogger
protected 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 AbstractOriginatingFileProvider
name
- The name of the root file of the file system to create.FileSystemException
public void init() throws FileSystemException
init
in interface VfsComponent
init
in class AbstractVfsComponent
FileSystemException
public FileSystemConfigBuilder getConfigBuilder()
FileProvider
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
public java.util.Collection getCapabilities()
FileProvider