public class SystemPropertyUtil extends Object
| Constructor and Description |
|---|
SystemPropertyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(String propertyKey,
boolean defaultValue)
Similar to
Boolean.getBoolean(String) but uses the given default value if property were not set. |
public static boolean getBoolean(String propertyKey, boolean defaultValue)
Boolean.getBoolean(String) but uses the given default value if property were not set.propertyKey - the system property keydefaultValue - the default value to use if property is not defined.Copyright © 2024. All rights reserved.