Class CommonsUtils
java.lang.Object
org.apache.tapestry5.commons.util.CommonsUtils
Some utility methods used in different Tapestry subprojects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).static String[]
splitAtCommas
(String value) Splits a value around commas.static String[]
Splits a path at each slash.
-
Field Details
-
EMPTY_STRING_ARRAY
-
-
Constructor Details
-
CommonsUtils
public CommonsUtils()
-
-
Method Details
-
splitPath
Splits a path at each slash. -
splitAtCommas
Splits a value around commas. Whitespace around the commas is removed, as is leading and trailing whitespace.- Since:
- 5.1.0.0
-
isBlank
Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).
-