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

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

public class StartFrame.Download
extends TransfureFiles

Download a set of files from 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.Download(Record d, boolean ignoreFailure, java.io.File givenLocalFolder, java.lang.String[] givenRemoteFiles)
          Create A Download instance.
 
Method Summary
 void run()
          Notify the GUI that we are transfuring files and then run transfure the files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartFrame.Download

public StartFrame.Download(Record d,
                           boolean ignoreFailure,
                           java.io.File givenLocalFolder,
                           java.lang.String[] givenRemoteFiles)
Create A Download instance.

Parameters:
d - The Record that holds the connection etc.
ignoreFailure - flag weather we should ignore a failure to download the files or notify the user.
givenLocalFolder - A File that is local folder we are going to download these files to.
givenRemoteFiles - An array of Strings that lists the remote files we are downloading.
Method Detail

run

public void run()
Notify the GUI that we are transfuring files and then run transfure the files.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class TransfureFiles