|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
org.apache.commons.vfs2.provider.sftp.SftpFileProvider
public class SftpFileProvider
A provider for accessing files over SFTP.
| Field Summary | |
|---|---|
static String |
ATTR_USER_INFO
User Information. |
static UserAuthenticationData.Type[] |
AUTHENTICATOR_TYPES
Authentication types. |
protected static Collection<Capability> |
capabilities
The provider's capabilities. |
| Constructor Summary | |
|---|---|
SftpFileProvider()
|
|
| Method Summary | |
|---|---|
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()
Initialises the component. |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider |
|---|
findFile, findFile, getFileSystem |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider |
|---|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer |
|---|
addComponent, removeComponent |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent |
|---|
getContext, getLogger, setContext, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_USER_INFO
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected static final Collection<Capability> capabilities
| Constructor Detail |
|---|
public SftpFileProvider()
| Method Detail |
|---|
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()
AbstractFileProvider
getConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic Collection<Capability> getCapabilities()
FileProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||