org.nuxeo.ecm.automation.core.util
Class Properties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
org.nuxeo.ecm.automation.core.util.Properties
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>
public class Properties
- extends java.util.HashMap<java.lang.String,java.lang.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
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Method Summary |
static java.util.Map<java.lang.String,java.lang.String> |
loadProperties(java.io.Reader reader)
|
static void |
loadProperties(java.io.Reader reader,
java.util.Map<java.lang.String,java.lang.String> map)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Properties
public Properties()
Properties
public Properties(int size)
Properties
public Properties(java.util.Map<java.lang.String,java.lang.String> props)
Properties
public Properties(java.lang.String content)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadProperties
public static java.util.Map<java.lang.String,java.lang.String> loadProperties(java.io.Reader reader)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadProperties
public static void loadProperties(java.io.Reader reader,
java.util.Map<java.lang.String,java.lang.String> map)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.