public class NonEscapedProperties extends TreeMap<String,String>
TreeMap
implementation that mimics the behaviour of the JDK's Properties
class
preventing the '/' or ':' chars from being escaped.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NonEscapedProperties() |
NonEscapedProperties(Comparator<? super String> comparator) |
Modifier and Type | Method and Description |
---|---|
void |
load(Path file) |
void |
load(Reader reader) |
void |
store(Writer writer,
String... comments) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public NonEscapedProperties()
public NonEscapedProperties(Comparator<? super String> comparator)
public void load(Reader reader) throws IOException
IOException
public void load(Path file) throws IOException
IOException
public void store(Writer writer, String... comments) throws IOException
IOException
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.