com.mindbright.ssh
Class SSHSCPFactory

java.lang.Object
  extended by com.mindbright.ssh.SSHSCPFactory
All Implemented Interfaces:
SSHFileTransferFactory

public class SSHSCPFactory
extends java.lang.Object
implements SSHFileTransferFactory


Constructor Summary
SSHSCPFactory()
           
 
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

SSHSCPFactory

public SSHSCPFactory()
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