public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
convertSystemPropertyNameToEnvVar(String systemPropertyName) |
static String |
getEnvVar(String envVarName,
String defaultValue) |
static String |
getSystemPropertyOrEnvVar(String systemPropertyName) |
static Boolean |
getSystemPropertyOrEnvVar(String systemPropertyName,
Boolean defaultValue) |
static int |
getSystemPropertyOrEnvVar(String systemPropertyName,
int defaultValue) |
static String |
getSystemPropertyOrEnvVar(String systemPropertyName,
String defaultValue) |
static String |
getSystemPropertyOrEnvVar(String systemPropertyName,
String envVarName,
String defaultValue) |
static boolean |
isNotNullOrEmpty(String str) |
static boolean |
isNullOrEmpty(String str) |
static String |
join(Object[] array) |
static String |
join(Object[] array,
char separator) |
public static boolean isNullOrEmpty(String str)
public static boolean isNotNullOrEmpty(String str)
public static String getSystemPropertyOrEnvVar(String systemPropertyName, String envVarName, String defaultValue)
public static String convertSystemPropertyNameToEnvVar(String systemPropertyName)
public static String getSystemPropertyOrEnvVar(String systemPropertyName, String defaultValue)
public static Boolean getSystemPropertyOrEnvVar(String systemPropertyName, Boolean defaultValue)
public static int getSystemPropertyOrEnvVar(String systemPropertyName, int defaultValue)
Copyright © 2015 Red Hat. All rights reserved.