Class Properties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
- Direct Known Subclasses:
DataModelProperties
Inline properties file content. This class exists to have a real type for parameters accepting properties content.
- Author:
- Bogdan Stefanescu
- See Also:
-
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> -
Field Summary
-
Constructor Summary
ConstructorDescriptionProperties
(int size) Properties
(com.fasterxml.jackson.databind.JsonNode node) Constructs a Properties map based on a Json node.Properties
(String content) Properties
(Map<String, String> props) -
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
Default value isfalse
.loadProperties
(Reader reader) static void
loadProperties
(Reader reader, Map<String, String> map) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
IS_PROPERTY_VALUE_TRIMMED_KEY
Spaces may be legitimate part of the value, there is no reason to trim them. But before NXP-19050, the behavior was to trim the values. We have put in place a contribution, which is overridden before Nuxeo 8 series, for backward compatibility. See NXP-19170.- Since:
- 8.2
- See Also:
-
PROPERTIES_MULTILINE_ESCAPE
- See Also:
-
multiLineEscape
-
-
Constructor Details
-
Properties
public Properties() -
Properties
public Properties(int size) -
Properties
-
Properties
- Throws:
IOException
-
Properties
Constructs a Properties map based on a Json node.- Throws:
IOException
- Since:
- 5.7.3
-
-
Method Details
-
isPropertyValueTrimmed
protected static boolean isPropertyValueTrimmed()Default value isfalse
.- Since:
- 8.2
-
loadProperties
- Throws:
IOException
-
loadProperties
- Throws:
IOException
-