Class ExpressionUtilities
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.ExpressionUtilities
-
public class ExpressionUtilities extends Object
A collection of utility methods which may be useful for expression-implementors.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigDecimal
convertToBigDecimal(Number number)
static BigDecimal
convertToBigDecimal(Object o)
static ResourceBundle
getDefaultResourceBundle(Expression expression)
Retursn the default resource-bundle.
-
-
-
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.
-
-