public class PropertiesUtil extends Object
Constructor and Description |
---|
PropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
substituteProperty(String value,
Properties coreProperties) |
static boolean |
toBoolean(String value) |
static Integer |
toInteger(String value,
Integer defValue)
Parse the given String value as an integer.
|
public static String substituteProperty(String value, Properties coreProperties)
public static Integer toInteger(String value, Integer defValue)
value
- the value to parsedefValue
- the default to return if the value cannot be parsedpublic static boolean toBoolean(String value)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.