edu.memphis.ccrg.lida.framework.initialization
Class ConfigUtils

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.initialization.ConfigUtils

public class ConfigUtils
extends java.lang.Object

Utilities for loading Properties

Author:
Javier Snaider

Constructor Summary
ConfigUtils()
           
 
Method Summary
static void configLoggers(java.lang.String path)
          Configures the Logger manager with specified configFile properties file.
static java.util.Properties loadProperties(java.lang.String fileName)
          Loads specified Properties file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUtils

public ConfigUtils()
Method Detail

loadProperties

public static java.util.Properties loadProperties(java.lang.String fileName)
Loads specified Properties file.

Parameters:
fileName - file name
Returns:
Properties or null if the file is invalid.

configLoggers

public static void configLoggers(java.lang.String path)
Configures the Logger manager with specified configFile properties file.

Parameters:
path - path of properties file
See Also:
LogManager