public class PropertyUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
propertyAsBoolean(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String property,
boolean defaultValue) |
static double |
propertyAsDouble(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String property,
double defaultValue) |
static int |
propertyAsInt(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String property,
int defaultValue) |
static long |
propertyAsLong(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String property,
long defaultValue) |
static java.lang.String |
propertyAsString(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String property,
java.lang.String defaultValue) |
public static boolean propertyAsBoolean(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, boolean defaultValue)
public static double propertyAsDouble(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, double defaultValue)
public static int propertyAsInt(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, int defaultValue)
public static long propertyAsLong(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, long defaultValue)
public static java.lang.String propertyAsString(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, java.lang.String defaultValue)