Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gov.lanl.Utility
Class PrintableConfigProperties  view PrintableConfigProperties download PrintableConfigProperties.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bygov.lanl.Utility.ConfigProperties
                  extended bygov.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 Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
private  java.util.Enumeration allnames
           
private static org.apache.log4j.Logger cat
          the logging function
private  java.util.Hashtable names
           
 
Fields inherited from class gov.lanl.Utility.ConfigProperties
appl
 
Fields inherited from class java.util.Properties
defaults
 
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 gov.lanl.Utility.ConfigProperties
getProp, getProp, getPropertyTuple, getPropertyTuple, parseLine, readFile, setProperties, setProperties, setProperties
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cat

private static org.apache.log4j.Logger cat
the logging function


allnames

private java.util.Enumeration allnames

names

private java.util.Hashtable names
Constructor Detail

PrintableConfigProperties

public PrintableConfigProperties()
Builds the object via the super class, remembers the proper names in system properties at instantiation

Method Detail

print

public void print(boolean addedProps)
Prints the properties values depending on the addedProps parameter