public class SftpFileProvider extends AbstractOriginatingFileProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_USER_INFO
User Information.
|
static UserAuthenticationData.Type[] |
AUTHENTICATOR_TYPES
Authentication types.
|
protected static Collection<Capability> |
capabilities
The provider's capabilities.
|
| Constructor and Description |
|---|
SftpFileProvider()
Constructs a new provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a
FileSystem. |
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.
|
findFile, findFile, getFileSystemaddFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, setContext, setLoggerpublic static final String ATTR_USER_INFO
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected static final Collection<Capability> capabilities
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.fileSystemOptions - The FileSystem options.FileSystemException - if an error occurs.public void init()
throws FileSystemException
init in interface VfsComponentinit in class AbstractVfsComponentFileSystemException - if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic Collection<Capability> getCapabilities()
FileProviderCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.