Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.util
Class Properties

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
Properties()
           
Properties(int size)
           
Properties(Map<String,String> props)
           
Properties(String content)
           
 
Method Summary
static Map<String,String> loadProperties(Reader reader)
           
static void loadProperties(Reader reader, Map<String,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
 

Constructor Detail

Properties

public Properties()

Properties

public Properties(int size)

Properties

public Properties(Map<String,String> props)

Properties

public Properties(String content)
           throws Exception
Throws:
Exception
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.