public class PropertyMap extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<String,Object> |
map |
Constructor and Description |
---|
PropertyMap() |
PropertyMap(int size) |
PropertyMap(Map<String,Object> map) |
PropertyMap(PropertyMap props) |
Modifier and Type | Method and Description |
---|---|
Object |
get(String key) |
Boolean |
getBoolean(String key) |
Boolean |
getBoolean(String key,
Boolean defValue) |
Date |
getDate(String key) |
Date |
getDate(String key,
Date defValue) |
Double |
getDouble(String key) |
Double |
getDouble(String key,
Double defValue) |
Set<String> |
getKeys() |
PropertyList |
getList(String key) |
PropertyList |
getList(String key,
PropertyList defValue) |
Long |
getLong(String key) |
Long |
getLong(String key,
Long defValue) |
PropertyMap |
getMap(String key) |
PropertyMap |
getMap(String key,
PropertyMap defValue) |
String |
getString(String key) |
String |
getString(String key,
String defValue) |
boolean |
isEmpty() |
Map<String,Object> |
map() |
int |
size() |
String |
toString() |
protected final LinkedHashMap<String,Object> map
public PropertyMap()
public PropertyMap(PropertyMap props)
public PropertyMap(Map<String,Object> map)
public PropertyMap(int size)
public Boolean getBoolean(String key)
public PropertyList getList(String key)
public PropertyMap getMap(String key)
public Boolean getBoolean(String key, Boolean defValue)
public PropertyList getList(String key, PropertyList defValue)
public PropertyMap getMap(String key, PropertyMap defValue)
public int size()
public boolean isEmpty()
Copyright © 2018 Nuxeo. All rights reserved.