Class ExpressionUtilities


  • public class ExpressionUtilities
    extends Object
    A collection of utility methods which may be useful for expression-implementors.
    Author:
    Thomas Morgner
    • Method Detail

      • convertToBigDecimal

        public static BigDecimal convertToBigDecimal​(Object o)
      • convertToBigDecimal

        public static BigDecimal convertToBigDecimal​(Number number)
      • getDefaultResourceBundle

        public static ResourceBundle getDefaultResourceBundle​(Expression expression)
        Retursn the default resource-bundle. The name of the default resource-bundle is defined in the report configuration.
        Parameters:
        expression - the expression that asked for the resource-bundle.
        Returns:
        the resource-bundle.