Package megamek.codeUtilities
Class StringUtility
java.lang.Object
megamek.codeUtilities.StringUtility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisNullOrBlank(String text) static booleanisNullOrBlank(StringBuilder text)
-
Constructor Details
-
StringUtility
public StringUtility()
-
-
Method Details
-
isNullOrBlank
- Parameters:
text- The string to be evaluated, which may be null- Returns:
- true if the passed in value is either null or a blank string
-
isNullOrBlank
- Parameters:
text- The string to be evaluated, which may be null- Returns:
- true if the passed in
StringBuilderis null, or its contents are null or blank
-