|
||||||||||
| 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.ftp.FtpFileProvider
public class FtpFileProvider
A provider for FTP file systems.
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
FtpFileProvider()
|
|
| Method Summary | |
|---|---|
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. |
| 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, init, 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_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
| Constructor Detail |
|---|
public FtpFileProvider()
| Method Detail |
|---|
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()
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 | |||||||||