com.e_c_group.bwptk
Class SCPManager

java.lang.Object
  extended by com.e_c_group.bwptk.SCPManager

public class SCPManager
extends java.lang.Object


Constructor Summary
SCPManager()
           
 
Method Summary
static void close()
           
static void copyToRemoteFile(java.lang.String localPath, java.lang.String remoteURI)
          Copies a local file to remote filesystem.
static void copyToRemoteFile(java.lang.String localPath, java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String remotePath)
          Copies a local file to remote filesystem.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCPManager

public SCPManager()
Method Detail

copyToRemoteFile

public static void copyToRemoteFile(java.lang.String localPath,
                                    java.lang.String host,
                                    java.lang.String user,
                                    java.lang.String password,
                                    java.lang.String remotePath)
                             throws java.io.IOException
Copies a local file to remote filesystem.

Throws:
java.io.IOException

copyToRemoteFile

public static void copyToRemoteFile(java.lang.String localPath,
                                    java.lang.String remoteURI)
                             throws java.io.IOException
Copies a local file to remote filesystem.

Throws:
java.io.IOException

close

public static void close()