org.apache.commons.scaffold.sql
Class CommandStore

java.lang.Object
  extended by org.apache.commons.scaffold.sql.CommandStore

public class CommandStore
extends Object

Version:
$Revision: 155464 $ $Date: 2005-02-26 13:26:54 +0000 (Sat, 26 Feb 2005) $
Author:
Ted Husted, OK State DEQ

Field Summary
protected static Properties properties
          Our Properties field.
 
Constructor Summary
CommandStore(Properties properties)
          Constructor to pass a properties file.
 
Method Summary
static Properties getProperties(String preface)
           
static String getProperty(String preface, String key)
          Retrieve command from Properties store for preface and key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected static Properties properties
Our Properties field.

Constructor Detail

CommandStore

public CommandStore(Properties properties)
Constructor to pass a properties file. Store instance in application scope.

Method Detail

getProperties

public static Properties getProperties(String preface)

getProperty

public static String getProperty(String preface,
                                 String key)
                          throws PropertiesException
Retrieve command from Properties store for preface and key.

Throws:
PropertiesException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.