|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.globus.transfer.reliable.service.URLExpander
This class should take the sourceUrl and destination Url from RftImpl of the Class and return a Vector of corresponding Fully Qualified gsiftp urls
| Field Summary | |
private org.globus.util.GlobusURL |
destinationGlobusUrl
|
private org.globus.ftp.GridFTPClient |
destinationHost
|
private String |
destinationPath
|
private Vector |
dirVector
|
private boolean |
done
|
private static org.globus.util.I18n |
i18n
|
private boolean |
isDelete
|
private static org.apache.commons.logging.Log |
logger
|
private int |
numberOfTransfers
|
private int |
requestId
|
private RFTOptionsType |
rftOptions
|
private org.globus.util.GlobusURL |
sourceGlobusUrl
|
private org.globus.ftp.GridFTPClient |
sourceHost
|
private String |
sourcePath
|
private Vector |
sourceUrlsEx
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
URLExpander(org.globus.ftp.GridFTPClient sourceHost,
org.globus.util.GlobusURL sourceGlobusUrl,
RFTOptionsType rftOptions)
This is to be used from the DeleteClient |
|
URLExpander(org.globus.ftp.GridFTPClient sourceHost,
org.globus.ftp.GridFTPClient destinationHost,
org.globus.util.GlobusURL sourceGlobusUrl,
org.globus.util.GlobusURL destinationGlobusUrl,
RFTOptionsType rftOptions)
Constructor for the URLExpander object |
|
| Method Summary | |
private void |
changeDir(String dirString)
|
void |
close()
|
Vector |
doMlsd(String localSourcePath)
do MLSD |
int |
getNumberOfTransfers()
|
Vector |
getSourceUrlList()
|
boolean |
getStatus()
Gets the status attribute of the URLExpander object |
private void |
makeDirectory(String dir)
|
void |
run()
this invokes the MLST command from GridFTPClient on the source hands it over to parser utility which gives set of directories that need to be made at the destination.Recursive directory traversal or Iterative? |
void |
setRequestId(int requestId)
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private org.globus.ftp.GridFTPClient sourceHost
private org.globus.ftp.GridFTPClient destinationHost
private String sourcePath
private String destinationPath
private Vector sourceUrlsEx
private org.globus.util.GlobusURL sourceGlobusUrl
private org.globus.util.GlobusURL destinationGlobusUrl
private boolean done
private RFTOptionsType rftOptions
private boolean isDelete
private Vector dirVector
private int requestId
private int numberOfTransfers
private static org.apache.commons.logging.Log logger
private static org.globus.util.I18n i18n
| Constructor Detail |
public URLExpander(org.globus.ftp.GridFTPClient sourceHost,
org.globus.ftp.GridFTPClient destinationHost,
org.globus.util.GlobusURL sourceGlobusUrl,
org.globus.util.GlobusURL destinationGlobusUrl,
RFTOptionsType rftOptions)
throws RftException
sourceHost - source gridftp serverdestinationHost - destination gridftp serversourceGlobusUrl - sourceGlobusUrldestinationGlobusUrl - destination globus url.rftOptions - RFTOptionsType
RftException
public URLExpander(org.globus.ftp.GridFTPClient sourceHost,
org.globus.util.GlobusURL sourceGlobusUrl,
RFTOptionsType rftOptions)
sourceHost - sourceGlobusUrl - rftOptions - | Method Detail |
public void setRequestId(int requestId)
public Vector getSourceUrlList()
public int getNumberOfTransfers()
public Vector doMlsd(String localSourcePath)
localSourcePath -
public boolean getStatus()
public void run()
private void makeDirectory(String dir)
throws IOException
IOExceptionpublic void close()
private void changeDir(String dirString)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||