Package io.hawt.util
Class Strings
java.lang.Object
io.hawt.util.Strings
String utility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
isNotBlank
(String text) static String
resolvePlaceholders
(String value) static String
resolvePlaceholders
(String value, Properties properties) Simple, recursively-safe property placeholder resolver.
-
Constructor Details
-
Strings
public Strings()
-
-
Method Details
-
isBlank
-
isNotBlank
-
split
-
resolvePlaceholders
-
resolvePlaceholders
Simple, recursively-safe property placeholder resolver. De-facto standard${...}
syntax is used. Unresolvable properties are not replaced and separators pass to resulting value.- Parameters:
value
-- Returns:
-