org.apache.commons.scaffold.sql
Class CommandStore

java.lang.Object
  extended byorg.apache.commons.scaffold.sql.CommandStore

public class CommandStore
extends java.lang.Object

Version:
$Revision: 1.5 $ $Date: 2004/03/21 21:10:27 $

Field Summary
protected static java.util.Properties properties
          Our Properties field.
 
Constructor Summary
CommandStore(java.util.Properties properties)
          Constructor to pass a properties file.
 
Method Summary
static java.util.Properties getProperties(java.lang.String preface)
           
static java.lang.String getProperty(java.lang.String preface, java.lang.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 java.util.Properties properties
Our Properties field.

Constructor Detail

CommandStore

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

Method Detail

getProperties

public static java.util.Properties getProperties(java.lang.String preface)

getProperty

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

Throws:
PropertiesException


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.