Class CommonsUtils

java.lang.Object
org.apache.tapestry5.commons.util.CommonsUtils

public class CommonsUtils extends Object
Some utility methods used in different Tapestry subprojects.
  • Field Details

  • Constructor Details

  • Method Details

    • splitPath

      public static String[] splitPath(String path)
      Splits a path at each slash.
    • splitAtCommas

      public static String[] splitAtCommas(String value)
      Splits a value around commas. Whitespace around the commas is removed, as is leading and trailing whitespace.
      Since:
      5.1.0.0
    • isBlank

      public static boolean isBlank(String input)
      Returns true if the input is null, or is a zero length string (excluding leading/trailing whitespace).