Constructor and Description |
---|
CombinedProperties(String defaultFile,
String customFile,
boolean caseSensitive)
Creates a new CombinedProperties containing the values from the defaultFile
and the customFile.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,String>> |
entrySet() |
String |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
String |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends String> m) |
String |
remove(Object key) |
int |
size() |
Collection<String> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public CombinedProperties(String defaultFile, String customFile, boolean caseSensitive) throws IOException
Class.getResourceAsStream(String)
.defaultFile
- the file containing the default valuescustomFile
- the file containing the custom valuescaseSensitive
- if false, the returned map will be an instance of CaseInsensitiveMap
IOException
- IO exception when reading the filespublic boolean containsKey(Object key)
containsKey
in interface Map<String,String>
public boolean containsValue(Object value)
containsValue
in interface Map<String,String>
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.