Package org.midheaven.lang
Class Strings
java.lang.Object
org.midheaven.lang.Strings
Represents Strings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareBlank(CharSequence a, CharSequence b) Performs areBlank.static booleanareBlank(CharSequence a, CharSequence b, CharSequence... others) Performs areBlank.static booleanPerforms areFilled.static booleanareFilled(CharSequence a, CharSequence b, CharSequence... others) Performs areFilled.Performs filled.static booleanisBlank(CharSequence text) Checks whether is Blank.static booleanChecks whether is Blank.static booleanisFilled(CharSequence text) Checks whether is Filled.static booleanChecks whether is Filled.static Stringtransform(String text, Strings.Casing original, Strings.Casing target) Performs transform.
-
Method Details
-
isBlank
Checks whether is Blank.- Parameters:
text- the text value- Returns:
- the result of isBlank
-
isFilled
Checks whether is Filled.- Parameters:
text- the text value- Returns:
- the result of isFilled
-
isBlank
Checks whether is Blank.- Parameters:
text- the text value- Returns:
- the result of isBlank
-
areBlank
Performs areBlank.- Parameters:
a- the a valueb- the b value- Returns:
- the result of areBlank
-
areBlank
Performs areBlank.- Parameters:
a- the a valueb- the b valueothers- the others value- Returns:
- the result of areBlank
-
isFilled
Checks whether is Filled.- Parameters:
text- the text value- Returns:
- the result of isFilled
-
areFilled
Performs areFilled.- Parameters:
a- the a valueb- the b value- Returns:
- the result of areFilled
-
areFilled
Performs areFilled.- Parameters:
a- the a valueb- the b valueothers- the others value- Returns:
- the result of areFilled
-
filled
Performs filled.- Parameters:
text- the text value- Returns:
- the result of filled
-
transform
Performs transform.- Parameters:
text- the text valueoriginal- the original valuetarget- the target value- Returns:
- the result of transform
-