gov.lanl.Utility
Class PrintableConfigProperties

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 $
Author:
Jim George
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
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, propertyNames, save, setProperty, store
 
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
 

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

Parameters:
addedProps - determines whether to print all of the current properties in systemProperties (False) or only the ones added since instantiation (True)


Copyright © 2000 Apache Software Foundation. All Rights Reserved.