public class OverlayProperties extends Properties implements PropertyHandler
defaults| 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, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitgetProperty, 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()
Copyright © 2020 Hitachi Vantara. All rights reserved.