org.pentaho.di.laf
Class OverlayProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.pentaho.di.laf.OverlayProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>, Handler, PropertyHandler
public class OverlayProperties
- extends Properties
- implements PropertyHandler
- See Also:
- Serialized Form
Method Summary |
boolean |
exists(String filename)
check to see whether a property file exists within the classpath or filesystem |
String |
getName()
|
boolean |
load(String filename)
cleanse and reload the property file |
boolean |
loadProps(String filename)
load properties for the given properties 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, remove, size, toString, values |
OverlayProperties
public OverlayProperties(String file)
throws IOException
- Throws:
IOException
exists
public boolean exists(String filename)
- Description copied from interface:
PropertyHandler
- check to see whether a property file exists within the classpath or filesystem
- Specified by:
exists
in interface PropertyHandler
- Returns:
- true if resource exists
loadProps
public boolean loadProps(String filename)
- Description copied from interface:
PropertyHandler
- load properties for the given properties file
- Specified by:
loadProps
in interface PropertyHandler
- Returns:
- true if load was successful
load
public boolean load(String filename)
throws IOException
- cleanse and reload the property file
- Parameters:
filename
-
- Returns:
-
- Throws:
IOException
getName
public String getName()