com.mindbright.ssh2
Class SSH2SFTPFactory

java.lang.Object
  extended bycom.mindbright.ssh2.SSH2SFTPFactory
All Implemented Interfaces:
SSHFileTransferFactory

public class SSH2SFTPFactory
extends java.lang.Object
implements SSHFileTransferFactory

Factory which creates new SSH2SFTPTransfer instances.


Constructor Summary
SSH2SFTPFactory()
           
 
Method Summary
 SSHFileTransfer create(MindTermApp client, java.io.File cwd)
          Create a new instance which uses the given client and strats in the given directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSH2SFTPFactory

public SSH2SFTPFactory()
Method Detail

create

public SSHFileTransfer create(MindTermApp client,
                              java.io.File cwd)
                       throws java.lang.Exception
Description copied from interface: SSHFileTransferFactory
Create a new instance which uses the given client and strats in the given directory.

Specified by:
create in interface SSHFileTransferFactory
Parameters:
client - connected SSH client to transfer files over
cwd - start directory
Throws:
java.lang.Exception