net.fortuna.mstor.util
Class Configurator

java.lang.Object
  extended by net.fortuna.mstor.util.Configurator

public final class Configurator
extends java.lang.Object

Provides configuration properties specified either as system properties or in an mstor.properties configuration file.

Author:
Ben
 $Id$

 Created on 06/02/2008
 

Method Summary
static java.lang.String getProperty(java.lang.String key)
           
static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

public static java.lang.String getProperty(java.lang.String key)
Parameters:
key -
Returns:

getProperty

public static java.lang.String getProperty(java.lang.String key,
                                           java.lang.String defaultValue)
Parameters:
key -
defaultValue -
Returns:


Copyright © 2004-2011 Micronode. All Rights Reserved.