public class FtpFileProvider extends AbstractOriginatingFileProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_FILE_ENTRY_PARSER
File Entry Parser.
|
static UserAuthenticationData.Type[] |
AUTHENTICATOR_TYPES
Authenticator types.
|
static String |
IMPLICIT_MODE
FTPS implicit mode
|
static String |
PASSIVE_MODE
Passive mode
|
static String |
PROTECTION_MODE |
defaultTimeout| Constructor and Description |
|---|
FtpFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the 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.
|
findFile, findFile, findFile, getFileSystem, getFileSystemaddFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerpublic static final String ATTR_FILE_ENTRY_PARSER
public static final String PASSIVE_MODE
public static final String IMPLICIT_MODE
public static final String PROTECTION_MODE
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws FileSystemException
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 FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic Collection<Capability> getCapabilities()
FileProviderCopyright © 2002–2018 WSO2. All rights reserved.