Class TslUtil
java.lang.Object
com.aquima.interactions.expressions.tsl.TslUtil
TSL related utilities.
- Since:
- 9.9
- Author:
- Petru Galanton
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasTsl
(IMultilingualText text) Indicates whether the specified multilingual text contains a TSL expression in any of its languages or in the default text.static boolean
Indicates whether the specified string contains a TSL expression.
-
Method Details
-
hasTsl
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
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.
-