- java.lang.Object
-
- ch.qos.logback.core.util.StringUtil
-
public class StringUtil extends Object
- Since:
- 1.5.0
-
-
Constructor Summary
Constructors Constructor Description StringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcapitalizeFirstLetter(String name)static booleanisNullOrEmpty(String str)Returns true if input str is null or empty.static StringlowercaseFirstLetter(String name)static booleannotNullNorEmpty(String str)Returns true if input str is not null nor empty.static StringnullStringToEmpty(String input)
-
-
-
Constructor Detail
-
StringUtil
public StringUtil()
-
-
Method Detail
-
nullStringToEmpty
public static String nullStringToEmpty(String input)
-
isNullOrEmpty
public static boolean isNullOrEmpty(String str)
Returns true if input str is null or empty.- Parameters:
str-- Returns:
-
notNullNorEmpty
public static boolean notNullNorEmpty(String str)
Returns true if input str is not null nor empty.- Parameters:
str-- Returns:
-
capitalizeFirstLetter
public static String capitalizeFirstLetter(String name)
-
lowercaseFirstLetter
public static String lowercaseFirstLetter(String name)
-
-