|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gridbus.broker.farming.globus.GridFTPUtil
public class GridFTPUtil
This class contains utility methods for GridFTP
Constructor Summary | |
---|---|
GridFTPUtil(java.lang.String gridFTPURL,
org.ietf.jgss.GSSCredential proxy)
|
|
GridFTPUtil(java.lang.String host,
int port,
org.ietf.jgss.GSSCredential proxy)
|
Method Summary | |
---|---|
boolean |
changeDir(java.lang.String dir)
Change to the specified directory. |
boolean |
cleanup()
Cleans up after a job has finished execution on the grid node. |
void |
close()
|
void |
getFile(java.lang.String source,
java.lang.String dest)
Gets a file from the remote source |
void |
putFile(java.lang.String source,
java.lang.String dest)
Copies a file to the remote node |
boolean |
transfer(Task task)
Transfers the files related to the task to a remote grid node |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridFTPUtil(java.lang.String host, int port, org.ietf.jgss.GSSCredential proxy)
host
- port
- proxy
- public GridFTPUtil(java.lang.String gridFTPURL, org.ietf.jgss.GSSCredential proxy) throws java.net.MalformedURLException
gridFTPURL
- proxy
-
java.net.MalformedURLException
Method Detail |
---|
public boolean changeDir(java.lang.String dir)
dir
-
public boolean cleanup()
public boolean transfer(Task task)
task
-
public void getFile(java.lang.String source, java.lang.String dest)
source
- dest
- public void putFile(java.lang.String source, java.lang.String dest)
source
- dest
- public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |