public final class PropertyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Integer |
getInteger(Message message,
String key) |
static Long |
getLong(Message message,
String key) |
static boolean |
isFalse(Map<String,Object> props,
String key)
It might seem odd to return 'true' if a property == FALSE, but it
is required sometimes.
|
static boolean |
isFalse(Object property)
It might seem odd to return 'true' if a property == FALSE, but it is required sometimes.
|
static boolean |
isTrue(Map<String,Object> props,
String key) |
static boolean |
isTrue(Object property)
Returns true if a value is either the String "true" (regardless of case) or Boolean.TRUE.
|
public static boolean isFalse(Map<String,Object> props, String key)
props
- key
- public static boolean isTrue(Object property)
property
- public static boolean isFalse(Object property)
property
- Copyright © 2017 JBoss by Red Hat. All rights reserved.