org.gridbus.broker.util
Class SrbFileResolver

java.lang.Object
  |
  +--org.gridbus.broker.util.FileResolver
        |
        +--org.gridbus.broker.util.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()
          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.
SrbFileResolver(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)
          Extracts the physical locations of the files from the logical file names This method is to be implemented by different file-resolver subclass types
 
Methods inherited from class org.gridbus.broker.util.FileResolver
extractFiles, getCatalogs, getDataFileList, getDatafiles, getDataFilter, getDatahosts, getDataHostTable, getLimit, getVarName, setCatalogs, setDataFileList, setDatafiles, setDataFilter, setDatahosts, setDataHostTable, setLimit, setLimit, setVarName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrbFileResolver

public SrbFileResolver()
                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.

Throws:
java.lang.Exception

SrbFileResolver

public SrbFileResolver(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:
dataHostTable -
dataFileList -
Throws:
java.lang.Exception
Method Detail

extractFiles

public void extractFiles(java.lang.String varName,
                         java.lang.String srchFilName)
Description copied from class: FileResolver
Extracts the physical locations of the files from the logical file names This method is to be implemented by different file-resolver subclass types

Specified by:
extractFiles in class FileResolver
Parameters:
varName - (Name of the variable to associate files to)
srchFilName -
See Also:
FileResolver.extractFiles()