org.apache.commons.vfs2.provider.ftp
Class FtpFileProvider

java.lang.Object
  extended by org.apache.commons.vfs2.provider.AbstractVfsComponent
      extended by org.apache.commons.vfs2.provider.AbstractVfsContainer
          extended by org.apache.commons.vfs2.provider.AbstractFileProvider
              extended by org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
                  extended by org.apache.commons.vfs2.provider.ftp.FtpFileProvider
All Implemented Interfaces:
org.apache.commons.vfs2.provider.FileProvider, org.apache.commons.vfs2.provider.VfsComponent

public class FtpFileProvider
extends org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider

A provider for FTP file systems. PATCH for : https://issues.apache.org/jira/browse/VFS-178

Author:
Commons VFS team

Field Summary
static String ATTR_FILE_ENTRY_PARSER
          File Entry Parser.
static org.apache.commons.vfs2.UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
          Authenticator types.
static String PASSIVE_MODE
           
 
Constructor Summary
FtpFileProvider()
           
 
Method Summary
protected  org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
          Creates the filesystem.
 Collection<org.apache.commons.vfs2.Capability> getCapabilities()
           
 org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder()
           
 
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

ATTR_FILE_ENTRY_PARSER

public static final String ATTR_FILE_ENTRY_PARSER
File Entry Parser.

See Also:
Constant Field Values

PASSIVE_MODE

public static final String PASSIVE_MODE
See Also:
Constant Field Values

AUTHENTICATOR_TYPES

public static final org.apache.commons.vfs2.UserAuthenticationData.Type[] AUTHENTICATOR_TYPES
Authenticator types.

Constructor Detail

FtpFileProvider

public FtpFileProvider()
Method Detail

doCreateFileSystem

protected org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName name,
                                                                org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
                                                         throws org.apache.commons.vfs2.FileSystemException
Creates the filesystem.

Specified by:
doCreateFileSystem in class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
Throws:
org.apache.commons.vfs2.FileSystemException

getConfigBuilder

public org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder()
Specified by:
getConfigBuilder in interface org.apache.commons.vfs2.provider.FileProvider
Overrides:
getConfigBuilder in class org.apache.commons.vfs2.provider.AbstractFileProvider

getCapabilities

public Collection<org.apache.commons.vfs2.Capability> getCapabilities()


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.