org.globus.ogsa.impl.base.multirft.util
Class URLExpander

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.globus.ogsa.impl.base.multirft.util.URLExpander
All Implemented Interfaces:
java.lang.Runnable

public class URLExpander
extends java.lang.Thread

Description This class should take the sourceUrl and destination Url from RftImpl of the Class and return a Vector of corresponding Fully Qualified gsiftp urls

Author:
madduri

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
URLExpander(org.globus.ftp.GridFTPClient sourceHost, org.globus.ftp.GridFTPClient destinationHost, org.globus.util.GlobusURL sourceGlobusUrl, org.globus.util.GlobusURL destinationGlobusUrl)
          Constructor for the URLExpander object
 
Method Summary
 java.util.Vector doMlsd(java.lang.String localSourcePath)
          Description of the Method
 boolean getStatus()
          Gets the status attribute of the URLExpander object
 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?
 
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
 

Constructor Detail

URLExpander

public URLExpander(org.globus.ftp.GridFTPClient sourceHost,
                   org.globus.ftp.GridFTPClient destinationHost,
                   org.globus.util.GlobusURL sourceGlobusUrl,
                   org.globus.util.GlobusURL destinationGlobusUrl)
            throws java.rmi.RemoteException
Constructor for the URLExpander object

Parameters:
sourceHost - source gridftp server
destinationHost - Description of the Parameter
sourceGlobusUrl - Description of the Parameter
destinationGlobusUrl - Description of the Parameter
Throws:
java.rmi.RemoteException
Method Detail

doMlsd

public java.util.Vector doMlsd(java.lang.String localSourcePath)
Description of the Method

Parameters:
localSourcePath - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

getStatus

public boolean getStatus()
Gets the status attribute of the URLExpander object

Returns:
The status value

run

public 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?

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