edu.harvard.mgh.purcell.gCLINE
Class StartFrame.Upload

java.lang.Object
  extended by edu.harvard.mgh.purcell.gCLINE.TransfureFiles
      extended by edu.harvard.mgh.purcell.gCLINE.StartFrame.Upload
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
StartFrame

public class StartFrame.Upload
extends TransfureFiles

Upload a set of files to a remote directory. Note that this extends TransfureFiles that is a Runnable class.

Author:
Kathe Todd-Brown

Field Summary
 
Fields inherited from class edu.harvard.mgh.purcell.gCLINE.TransfureFiles
localFiles, remoteFiles
 
Constructor Summary
StartFrame.Upload(Record d, boolean ignoreFailure, java.lang.String givenRemoteFolder, java.io.File[] givenLocalFiles)
          Create A Upload instance.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartFrame.Upload

public StartFrame.Upload(Record d,
                         boolean ignoreFailure,
                         java.lang.String givenRemoteFolder,
                         java.io.File[] givenLocalFiles)
Create A Upload instance.

Parameters:
d - The Record that holds the connection etc.
ignoreFailure - flag weather we should ignore a failure to upload the files or notify the user.
givenRemoteFolder - A String that is remote folder we are going to upload these files to.
givenLocalFiles - An array of Files that lists the local files we are uploading.
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class TransfureFiles