java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
gov.lanl.Utility.ConfigProperties
gov.lanl.Utility.PrintableConfigProperties
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class PrintableConfigProperties
- extends ConfigProperties
PrintableConfigProperties builds on ConfigProperties by allowing
the system and added properties to be printed on Sysout, or only
the properties added by a config file
- Version:
- $Revision: 1.4 $ $Date: 2002/04/19 17:37:36 $
| Nested classes inherited from class java.util.Hashtable |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Hashtable |
|
|
Constructor Summary |
PrintableConfigProperties()
Builds the object via the super class, remembers the proper names
in system properties at instantiation |
|
Method Summary |
void |
print(boolean addedProps)
Prints the properties values depending on the addedProps parameter |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
cat
private static org.apache.log4j.Logger cat
- the logging function
allnames
private java.util.Enumeration allnames
names
private java.util.Hashtable names
PrintableConfigProperties
public PrintableConfigProperties()
- Builds the object via the super class, remembers the proper names
in system properties at instantiation
print
public void print(boolean addedProps)
- Prints the properties values depending on the addedProps parameter