org.gridbus.broker.util
Class LfnFileResolver

java.lang.Object
  |
  +--org.gridbus.broker.util.FileResolver
        |
        +--org.gridbus.broker.util.LfnFileResolver

public class LfnFileResolver
extends FileResolver

This class has methods to resolve logical file names that appear in the app-description file

Author:
Ding Choon Hoong (chd@students.cs.mu.oz.au)

Constructor Summary
LfnFileResolver()
          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.
LfnFileResolver(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 url)
          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

LfnFileResolver

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


LfnFileResolver

public LfnFileResolver(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.

Parameters:
dataHostTable -
dataFileList -
Method Detail

extractFiles

public void extractFiles(java.lang.String varName,
                         java.lang.String url)
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)
url - (dataFilter)
See Also:
FileResolver.extractFiles()