org.gridbus.broker.plan
Class SrbFileResolver

java.lang.Object
  extended byorg.gridbus.broker.plan.FileResolver
      extended byorg.gridbus.broker.plan.SrbFileResolver

public class SrbFileResolver
extends FileResolver

This class contains utility methods to resolve SRB data files to actual filenames.

Author:
Krishna Nadiminti (kna@unimelb.edu.au)

Constructor Summary
SrbFileResolver(org.dom4j.Element fragmentElement, java.util.Hashtable dataHostTable, java.util.Collection dataFileList)
          Constructor for this class This method sets up the LfnFileResolver internal data structures, to enable it to extract the physical file attributes from the lfns.
 
Method Summary
 void extractFiles(java.lang.String varName, java.lang.String srchFilName)
           
 int getLimit()
          Returns the upper limit of the # of files returned by the SRB query
 edu.sdsc.grid.io.srb.SRBAccount getSRBAccount()
          Returns the SRB Account used by the SRBFileResolver
 void setLimit(int fileLimit)
          Limits the number of query results
 
Methods inherited from class org.gridbus.broker.plan.FileResolver
extractFiles, getDataFileList, getDataHostTable, setDataFileList, setDataHostTable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrbFileResolver

public SrbFileResolver(org.dom4j.Element fragmentElement,
                       java.util.Hashtable dataHostTable,
                       java.util.Collection dataFileList)
                throws java.lang.Exception
Constructor for this class This method sets up the LfnFileResolver internal data structures, to enable it to extract the physical file attributes from the lfns.

Parameters:
fragmentElement -
dataHostTable -
dataFileList -
Throws:
java.lang.Exception
Method Detail

extractFiles

public void extractFiles(java.lang.String varName,
                         java.lang.String srchFilName)
Parameters:
varName -
srchFilName -
See Also:
FileResolver.extractFiles()

getSRBAccount

public edu.sdsc.grid.io.srb.SRBAccount getSRBAccount()
Returns the SRB Account used by the SRBFileResolver

Returns:
SRBAccount object

setLimit

public void setLimit(int fileLimit)
Limits the number of query results

Parameters:
fileLimit -

getLimit

public int getLimit()
Returns the upper limit of the # of files returned by the SRB query

Returns: