Class CommonsUtils
- java.lang.Object
- 
- org.apache.tapestry5.commons.util.CommonsUtils
 
- 
 public class CommonsUtils extends java.lang.Object Some utility methods used in different Tapestry subprojects.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.String[]EMPTY_STRING_ARRAY
 - 
Constructor SummaryConstructors Constructor Description CommonsUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisBlank(java.lang.String input)Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).static java.lang.String[]splitAtCommas(java.lang.String value)Splits a value around commas.static java.lang.String[]splitPath(java.lang.String path)Splits a path at each slash.
 
- 
- 
- 
Field Detail- 
EMPTY_STRING_ARRAYpublic static final java.lang.String[] EMPTY_STRING_ARRAY 
 
- 
 - 
Constructor Detail- 
CommonsUtilspublic CommonsUtils() 
 
- 
 - 
Method Detail- 
splitPathpublic static java.lang.String[] splitPath(java.lang.String path) Splits a path at each slash.
 - 
splitAtCommaspublic static java.lang.String[] splitAtCommas(java.lang.String value) Splits a value around commas. Whitespace around the commas is removed, as is leading and trailing whitespace.- Since:
- 5.1.0.0
 
 - 
isBlankpublic static boolean isBlank(java.lang.String input) Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).
 
- 
 
-