public class SystemUtils extends Object
Constructor and Description |
---|
SystemUtils() |
Modifier and Type | Method and Description |
---|---|
static Boolean |
getFirstBoolean(Boolean def,
String... keys)
Returns the first non-
|
static Integer |
getFirstInteger(Integer def,
String... keys)
Returns the first non-
|
static String |
getFirstString(String def,
String... keys)
Returns the first non-
|
public SystemUtils()
public static String getFirstString(String def, String... keys)
def
- The default value if none are found.
Can be keys
- The system properties to look for.public static Boolean getFirstBoolean(Boolean def, String... keys)
def
- The default value if none are found.
Can be keys
- The system properties to look for.public static Integer getFirstInteger(Integer def, String... keys)
def
- The default value if none are found.
Can be keys
- The system properties to look for.Copyright © 2018 Apache. All rights reserved.