org.globus.cog.abstraction.examples.transfer
Class FileTransfer

java.lang.Object
  extended byorg.globus.cog.abstraction.examples.transfer.FileTransfer
All Implemented Interfaces:
StatusListener

public class FileTransfer
extends Object
implements StatusListener


Constructor Summary
FileTransfer(String name, String sourceURI, String destinationURI)
           
 
Method Summary
 String getDestinationString()
           
 Task getFileTransferTask()
           
 String getSourceURI()
           
 boolean isCommandline()
           
 boolean isThirdparty()
           
static void main(String[] args)
           
 void prepareTask()
           
 void setCommandline(boolean bool)
           
 void setDestinationURI(String destinationURI)
           
 void setSourceURI(String sourceURI)
           
 void setThirdparty(boolean bool)
           
 void statusChanged(StatusEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransfer

public FileTransfer(String name,
                    String sourceURI,
                    String destinationURI)
             throws Exception
Method Detail

setSourceURI

public void setSourceURI(String sourceURI)
                  throws Exception
Throws:
Exception

setDestinationURI

public void setDestinationURI(String destinationURI)
                       throws Exception
Throws:
Exception

getSourceURI

public String getSourceURI()

getDestinationString

public String getDestinationString()

setCommandline

public void setCommandline(boolean bool)

isCommandline

public boolean isCommandline()

setThirdparty

public void setThirdparty(boolean bool)

isThirdparty

public boolean isThirdparty()

prepareTask

public void prepareTask()
                 throws Exception
Throws:
Exception

getFileTransferTask

public Task getFileTransferTask()

statusChanged

public void statusChanged(StatusEvent event)
Specified by:
statusChanged in interface StatusListener

main

public static void main(String[] args)