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.
|
Constructor and Description |
---|
FtpFileProvider()
Constructs a new provider.
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the file system.
|
Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
FileSystemConfigBuilder |
getConfigBuilder()
Returns the FileSystemConfigBuidler.
|
findFile, findFile, getFileSystem
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
public static final String ATTR_FILE_ENTRY_PARSER
public static final UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
protected FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) throws FileSystemException
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 Collection<Capability> getCapabilities()
FileProvider
These are the same as on the file system, but available before the first file system was instanciated.
public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvider
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.