uk.ac.ic.doc.automed
Class DSRConfiguration

java.lang.Object
  extended by uk.ac.ic.doc.automed.DSRConfiguration

public class DSRConfiguration
extends java.lang.Object

Basic ability to configure the DSR, and to support the use of multiple DSRs.

Author:
Peter McBrien (pjm@doc.ic.ac.uk)

Constructor Summary
DSRConfiguration()
           
 
Method Summary
static java.lang.String getDefaultConfigFileName()
          Return the default name of the configuration file used by the DSR class.
static void setDefaultConfigFileName(java.lang.String dfn)
          Set the default configuration file name.
static void setDefaultConfigFileName(java.lang.String[] args)
          From command-line arguments, identify the -c flag which sets the configuration file name (if any)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSRConfiguration

public DSRConfiguration()
Method Detail

getDefaultConfigFileName

public static java.lang.String getDefaultConfigFileName()
Return the default name of the configuration file used by the DSR class. This configuration file determines where the repositories are stored, and initially is set to data_source_repository.cfg.


setDefaultConfigFileName

public static void setDefaultConfigFileName(java.lang.String dfn)
Set the default configuration file name.


setDefaultConfigFileName

public static void setDefaultConfigFileName(java.lang.String[] args)
                                     throws AutoMedException
From command-line arguments, identify the -c flag which sets the configuration file name (if any)

Throws:
AutoMedException