org.apache.commons.scaffold.sql
Class CommandStore
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected static Properties properties
- Our Properties field.
CommandStore
public CommandStore(Properties properties)
- Constructor to pass a properties file.
Store instance in application scope.
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.