org.nuxeo.ecm.automation.core.util
Class Properties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.nuxeo.ecm.automation.core.util.Properties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,String>
public class Properties
- extends HashMap<String,String>
Inline properties file content. This class exists to have a real type for
parameters accepting properties content.
- Author:
- Bogdan Stefanescu
- See Also:
Constants
,
Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Properties
public Properties()
Properties
public Properties(int size)
Properties
public Properties(Map<String,String> props)
Properties
public Properties(String content)
throws Exception
- Throws:
Exception
loadProperties
public static Map<String,String> loadProperties(Reader reader)
throws Exception
- Throws:
Exception
loadProperties
public static void loadProperties(Reader reader,
Map<String,String> map)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.