Class Strings
java.lang.Object
com.hierynomus.utils.Strings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisNotBlank(String s) Check whether the passed String is not null and not empty (after trim)static StringJoin a string on a character.static byte[]Return a byte[] of the String including a final null terminatorSplit a string on a character.
-
Constructor Details
-
Strings
public Strings()
-
-
Method Details
-
split
-
join
-
nullTerminatedBytes
Return a byte[] of the String including a final null terminator- Parameters:
s-- Returns:
-
isNotBlank
Check whether the passed String is not null and not empty (after trim)- Parameters:
s- The string to check- Returns:
trueiff the string is not blank
-