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, stringPropertyNamesclear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, valuesgetProperty, getPropertypublic OverlayProperties(String file) throws IOException
IOExceptionpublic boolean exists(String filename)
PropertyHandlerexists in interface PropertyHandlerpublic boolean loadProps(String filename)
PropertyHandlerloadProps in interface PropertyHandlerpublic boolean load(String filename) throws IOException
filename - IOExceptionpublic String getName()