org.gridbus.broker.util
Class SRBDataUtil

java.lang.Object
  extended byorg.gridbus.broker.util.SRBDataUtil

public class SRBDataUtil
extends java.lang.Object

This class contains utility methods to work with SRB data

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

Constructor Summary
SRBDataUtil()
           
 
Method Summary
static java.util.Vector getDataFileList()
          Returns the table of data files
static java.util.Hashtable getDataHostsTable()
          Returns the data hosts table
static void main(java.lang.String[] args)
          Main method to test the Util in stand-alone mode.
static void querySRB(java.lang.String filename)
          Queries the SRB catalog and gets the data files into the internal datastructures.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRBDataUtil

public SRBDataUtil()
Method Detail

querySRB

public static void querySRB(java.lang.String filename)
Queries the SRB catalog and gets the data files into the internal datastructures. These can then be accessed usig getDataFiles(), and getDataHosts().

Parameters:
filename -

getDataHostsTable

public static java.util.Hashtable getDataHostsTable()
Returns the data hosts table

Returns:
hashtable of data hosts

getDataFileList

public static java.util.Vector getDataFileList()
Returns the table of data files

Returns:
vector

main

public static void main(java.lang.String[] args)
Main method to test the Util in stand-alone mode.

Parameters:
args -