Package org.web3j.utils
Class Strings
java.lang.Object
org.web3j.utils.Strings
String utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcapitaliseFirstLetter(String string) static booleanReturns true if the string is empty or contains only white space codepoints, otherwise false.static booleanReturns true if the string is empty, otherwise false.static Stringstatic StringlowercaseFirstLetter(String string) static Stringrepeat(char value, int n) static Stringstatic Stringzeros(int n)
-
Method Details
-
toCsv
-
join
-
capitaliseFirstLetter
-
lowercaseFirstLetter
-
zeros
-
repeat
-
isEmpty
Returns true if the string is empty, otherwise false.- Parameters:
s- String value- Returns:
- is given string is Empty or not
-
isBlank
Returns true if the string is empty or contains only white space codepoints, otherwise false.- Parameters:
s- String value- Returns:
- is given string is Blank or not
-