Class NonEscapedProperties
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<String,String>
-
- org.uberfire.backend.server.authz.NonEscapedProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>,NavigableMap<String,String>,SortedMap<String,String>
public class NonEscapedProperties extends TreeMap<String,String>
ATreeMapimplementation that mimics the behaviour of the JDK'sPropertiesclass preventing the '/' or ':' chars from being escaped.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description NonEscapedProperties()NonEscapedProperties(Comparator<? super String> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(Reader reader)voidload(Path file)voidstore(Writer writer, String... comments)-
Methods inherited from class java.util.TreeMap
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
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
-
-
-
Constructor Detail
-
NonEscapedProperties
public NonEscapedProperties()
-
NonEscapedProperties
public NonEscapedProperties(Comparator<? super String> comparator)
-
-
Method Detail
-
load
public void load(Reader reader) throws IOException
- Throws:
IOException
-
load
public void load(Path file) throws IOException
- Throws:
IOException
-
store
public void store(Writer writer, String... comments) throws IOException
- Throws:
IOException
-
-