FileProvider
, VfsComponent
public class SftpFileProvider extends AbstractOriginatingFileProvider
Modifier and Type | Field | 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 | Description |
---|---|
SftpFileProvider() |
Constructs a new provider.
|
Modifier and Type | Method | Description |
---|---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions) |
Creates a
FileSystem . |
java.util.Collection<Capability> |
getCapabilities() |
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
FileSystemConfigBuilder |
getConfigBuilder() |
Returns the FileSystemConfigBuidler.
|
void |
init() |
Initializes the component.
|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
findFile, findFile, getFileSystem
getContext, getLogger, setContext, setLogger
addComponent, removeComponent
public static final java.lang.String ATTR_USER_INFO
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected static final java.util.Collection<Capability> capabilities
public SftpFileProvider()
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.fileSystemOptions
- The FileSystem options.FileSystemException
- if an error occurs.public void init() throws FileSystemException
init
in interface VfsComponent
init
in class AbstractVfsComponent
FileSystemException
- if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvider
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
public java.util.Collection<Capability> getCapabilities()
FileProvider