org.globus.cog.abstraction.examples.transfer
Class FileTransfer
java.lang.Object
org.globus.cog.abstraction.examples.transfer.FileTransfer
- All Implemented Interfaces:
- StatusListener
- public class FileTransfer
- extends Object
- implements StatusListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTransfer
public FileTransfer(String name,
String sourceURI,
String destinationURI)
throws Exception
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)