class StringUtils {

    public static String getStringOrDefault(String inputString, String def) {
        String stringOrEmpty = getStringOrEmpty(inputString);
        if (isEmpty(stringOrEmpty)) {
            return def;
        } else {
            return stringOrEmpty;
        }
    }

    private  StringUtils();

}