public class MetadataCollector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARRAY_SEPARATOR |
protected Map<String,Map<String,Serializable>> |
collectedMetadata |
static String |
DATE_FORMAT |
static String |
LIST_SEPARATOR |
protected ReentrantReadWriteLock |
lock |
protected static Pattern |
numPattern |
static String |
REGEXP_ARRAY_SEPARATOR |
static String |
REGEXP_LIST_SEPARATOR |
static boolean |
staticInherit |
static boolean |
useIntrospection |
Constructor and Description |
---|
MetadataCollector() |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(String contextPath,
Map<String,Serializable> collectedProperties) |
void |
addPropertiesFromStrings(String contextPath,
Map<String,String> properties) |
void |
addPropertyFile(File propertyFile) |
Map<String,Serializable> |
getProperties(String contextPath) |
Serializable |
getProperty(String contextPath,
String name) |
protected Serializable |
parseFromString(String name,
String value) |
public static final boolean staticInherit
public static final boolean useIntrospection
public static String DATE_FORMAT
public static String LIST_SEPARATOR
public static String REGEXP_LIST_SEPARATOR
public static String ARRAY_SEPARATOR
public static String REGEXP_ARRAY_SEPARATOR
protected Map<String,Map<String,Serializable>> collectedMetadata
protected ReentrantReadWriteLock lock
protected static Pattern numPattern
public MetadataCollector()
public void addPropertiesFromStrings(String contextPath, Map<String,String> properties)
public void addProperties(String contextPath, Map<String,Serializable> collectedProperties)
protected Serializable parseFromString(String name, String value)
public Serializable getProperty(String contextPath, String name)
public Map<String,Serializable> getProperties(String contextPath)
public void addPropertyFile(File propertyFile) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.