java.lang.Object
com.aquima.interactions.expressions.tsl.TslUtil

public final class TslUtil extends Object
TSL related utilities.
Since:
9.9
Author:
Petru Galanton
  • Method Details

    • hasTsl

      public static boolean hasTsl(String str)
      Indicates whether the specified string contains a TSL expression.
      Parameters:
      str - the string which should be verified (may be null or empty)
      Returns:
      true if the specified string contains a TSL expression, false otherwise.
    • hasTsl

      public static boolean hasTsl(IMultilingualText text)
      Indicates whether the specified multilingual text contains a TSL expression in any of its languages or in the default text.
      Parameters:
      text - the multilingual text to be verified (may be null)
      Returns:
      true if the multilingual text contains a TSL expression, false otherwise.