| Modifier | Constructor and Description |
|---|---|
private |
CmisUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanParameter(Boolean value,
boolean def)
Returns the boolean value of the given value or the default value if the
given value is
null. |
static String |
getObjectTypeId(Properties properties)
Gets the type id from a set of properties.
|
static String |
getStringProperty(Properties properties,
String name)
Returns the first value of a string property.
|
static String |
getStringProperty(Properties properties,
String name,
String defaultValue)
get String property
|
static Set<String> |
splitFilter(String filter)
Splits a filter statement into a collection of properties.
|
private CmisUtils()
public static boolean getBooleanParameter(Boolean value, boolean def)
null.value - valuedef - defaultpublic static String getStringProperty(Properties properties, String name)
properties - propertyname - namepublic static String getStringProperty(Properties properties, String name, String defaultValue)
properties - propertyname - namedefaultValue - default valuepublic static String getObjectTypeId(Properties properties)
properties - propertiespublic static Set<String> splitFilter(String filter)
filter is null, empty or one of the properties
is '*' , an empty collection will be returned.filter - input filters