public class OverlayProperties extends Properties implements PropertyHandler
Constructor and Description |
---|
OverlayProperties(String file) |
Modifier and Type | Method and Description |
---|---|
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
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
getProperty, getProperty
public OverlayProperties(String file) throws IOException
IOException
public boolean exists(String filename)
PropertyHandler
exists
in interface PropertyHandler
public boolean loadProps(String filename)
PropertyHandler
loadProps
in interface PropertyHandler
public boolean load(String filename) throws IOException
filename
- IOException
public String getName()