Textractor API textractor-720 (20091120123250)

textractor.database
Class PropertyManager

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by textractor.database.PropertyManager
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public final class PropertyManager
extends Properties

Global Property Manager. Singleton Property Manager for storing run-time properties.

Version:
$Revision: 19015 $
Author:
Ethan Cerami
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Method Summary
 String getEnvVar(String varName, String def)
           
static PropertyManager getInstance(String filename)
          Gets an Instance of the Property Manager using a given property file.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
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
 

Method Detail

getInstance

public static PropertyManager getInstance(String filename)
Gets an Instance of the Property Manager using a given property file.

Parameters:
filename - Name of the file to read properties from
Returns:
a PropertyManager instance

getEnvVar

public String getEnvVar(String varName,
                        String def)

Textractor API textractor-720 (20091120123250)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.