org.apache.commons.vfs2.provider.ftps
Class FtpsFileProvider

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
                      extended by org.apache.commons.vfs2.provider.ftps.FtpsFileProvider
All Implemented Interfaces:
FileProvider, VfsComponent

public class FtpsFileProvider
extends FtpFileProvider

A provider for FTP file systems. NOTE: Most of the heavy lifting for FTPS is done by the org.apache.commons.vfs2.provider.ftp package since they both use commons-net package

Since:
2.0
Version:
$Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
Commons VFS team

Field Summary
static String KEY_PASSWD
          SSL Key password.
static String KEY_STORE
          SSL Keystore.
static String KS_PASSWD
          SSL Keystore password.
static String TRUST_STORE
          SSL Truststore.
static String TS_PASSWD
          SSL Truststore password.
 
Fields inherited from class org.apache.commons.vfs2.provider.ftp.FtpFileProvider
ATTR_FILE_ENTRY_PARSER, AUTHENTICATOR_TYPES, IMPLICIT_MODE, PASSIVE_MODE, PROTECTION_MODE
 
Constructor Summary
FtpsFileProvider()
           
 
Method Summary
protected  FileSystem doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)
          Creates the filesystem.
 FileSystemConfigBuilder getConfigBuilder()
          Returns the FileSystemConfigBuidler.
 
Methods inherited from class org.apache.commons.vfs2.provider.ftp.FtpFileProvider
getCapabilities
 
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

KEY_STORE

public static final String KEY_STORE
SSL Keystore.

See Also:
Constant Field Values

TRUST_STORE

public static final String TRUST_STORE
SSL Truststore.

See Also:
Constant Field Values

KS_PASSWD

public static final String KS_PASSWD
SSL Keystore password.

See Also:
Constant Field Values

TS_PASSWD

public static final String TS_PASSWD
SSL Truststore password.

See Also:
Constant Field Values

KEY_PASSWD

public static final String KEY_PASSWD
SSL Key password.

See Also:
Constant Field Values
Constructor Detail

FtpsFileProvider

public FtpsFileProvider()
Method Detail

doCreateFileSystem

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

Overrides:
doCreateFileSystem in class FtpFileProvider
Parameters:
name - The name of the root file of the file system to create.
fileSystemOptions - The FileSystem options.
Returns:
The FileSystem.
Throws:
FileSystemException - if an error occurs.

getConfigBuilder

public FileSystemConfigBuilder getConfigBuilder()
Description copied from class: AbstractFileProvider
Returns the FileSystemConfigBuidler.

Specified by:
getConfigBuilder in interface FileProvider
Overrides:
getConfigBuilder in class FtpFileProvider
Returns:
the FileSystemConfigBuilder.


Copyright © 2002–2015 WSO2. All rights reserved.