vc.util
Class PropertyLoader

java.lang.Object
  |
  +--vc.util.PropertyLoader

public class PropertyLoader
extends java.lang.Object

PropertyLoader is the utility class to load the constants read from the properties file and set them to the variables of the files that hold configuration inforation


Constructor Summary
PropertyLoader()
           
 
Method Summary
static void loadPropertiesForServer(java.lang.String propertyFileName, Logger logger)
          Reads the properties from a properties file using Java resource bundle and then sets thst information to the variables in the serverConstants class that holds the configuration informaion of the VersionControl server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyLoader

public PropertyLoader()
Method Detail

loadPropertiesForServer

public static void loadPropertiesForServer(java.lang.String propertyFileName,
                                           Logger logger)
                                    throws java.lang.Throwable
Reads the properties from a properties file using Java resource bundle and then sets thst information to the variables in the serverConstants class that holds the configuration informaion of the VersionControl server.
Parameters:
propertyFileName - name of the properties file from which the data will be extracted using resource bundle
logger - Logger instance to set the logging properties