public class PropertiesUtil extends Object
| 构造器和说明 |
|---|
PropertiesUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
substitute(String value,
Function<String,String> coreProperties) |
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 © 2006–2022 The Apache Software Foundation. All rights reserved.