Package com.zfabrik.util
Class StringUtils
java.lang.Object
com.zfabrik.util.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetString(ResourceBundle b, String key, Object... args) Exception safe getString method for resource bundles.static final booleanstatic Stringremove blanks and normalize to nullstatic final booleanstatic StringTrims if the argument is not null.static StringTrims tail of argument if it is not null.
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
isEmpty
-
notEmpty
-
splitString
-
trimAndNormalizeToNull
Trims if the argument is not null. returns null, if the argument is null or of zero length after trimming.- Parameters:
s-- Returns:
-
trimTailAndNormalizeToNull
Trims tail of argument if it is not null. returns null, if the argument is null or of zero length after trimming.- Parameters:
s-- Returns:
-
lowerCaseTrimIdentifierAndNormalizeToNull
remove blanks and normalize to null- Parameters:
lowerCase-- Returns:
-
getString
Exception safe getString method for resource bundles. Catches any exception and if so returns the string key with leading and trailing ???
-