com.maverick.vfs.ssh
Class SftpFileProvider

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 com.maverick.vfs.ssh.SftpFileProvider
All Implemented Interfaces:
org.apache.commons.vfs2.provider.FileProvider, org.apache.commons.vfs2.provider.VfsComponent

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


Field Summary
protected static Collection<org.apache.commons.vfs2.Capability> capabilities
           
 
Constructor Summary
SftpFileProvider()
           
 
Method Summary
protected  org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName name, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
           
 Collection getCapabilities()
           
 org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder()
           
 void init()
           
 
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, setContext, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capabilities

protected static final Collection<org.apache.commons.vfs2.Capability> capabilities
Constructor Detail

SftpFileProvider

public SftpFileProvider()
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
Specified by:
doCreateFileSystem in class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
Throws:
org.apache.commons.vfs2.FileSystemException

init

public void init()
          throws org.apache.commons.vfs2.FileSystemException
Specified by:
init in interface org.apache.commons.vfs2.provider.VfsComponent
Overrides:
init in class org.apache.commons.vfs2.provider.AbstractVfsComponent
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 getCapabilities()


Copyright © 2012. All Rights Reserved.