com.mindbright.ssh2
Class SSH2SCP1Factory

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

public class SSH2SCP1Factory
extends java.lang.Object
implements SSHFileTransferFactory

Factory which creates SSHFileTransfer objects which use the scp1 protocol.


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

SSH2SCP1Factory

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