public class Properties extends HashMap<String,String>
Constants
,
Serialized FormAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected static String |
multiLineEscape |
static String |
PROPERTIES_MULTILINE_ESCAPE |
Constructor and Description |
---|
Properties() |
Properties(int size) |
Properties(org.codehaus.jackson.JsonNode node)
Constructs a Properties map based on a Json node.
|
Properties(Map<String,String> props) |
Properties(String content) |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
loadProperties(Reader reader) |
static void |
loadProperties(Reader reader,
Map<String,String> map) |
protected static void |
setPropertyLine(Map<String,String> map,
String line) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static final String PROPERTIES_MULTILINE_ESCAPE
protected static final String multiLineEscape
public Properties()
public Properties(int size)
public Properties(Map<String,String> props)
public Properties(String content) throws IOException
IOException
public Properties(org.codehaus.jackson.JsonNode node) throws IOException
node
- IOException
public static Map<String,String> loadProperties(Reader reader) throws IOException
IOException
public static void loadProperties(Reader reader, Map<String,String> map) throws IOException
IOException
protected static void setPropertyLine(Map<String,String> map, String line) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.