Package com.logicaldoc.core.automation
Class NumberTool
- java.lang.Object
-
- org.apache.velocity.tools.generic.SafeConfig
-
- org.apache.velocity.tools.generic.LocaleConfig
-
- org.apache.velocity.tools.generic.FormatConfig
-
- org.apache.velocity.tools.generic.NumberTool
-
- com.logicaldoc.core.automation.NumberTool
-
public class NumberTool extends org.apache.velocity.tools.generic.NumberTool
Extension of the standard NumberTool that allows the locale specification as string.- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description NumberTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(String format, Object obj, String locale)
Formats a number using the specified format-
Methods inherited from class org.apache.velocity.tools.generic.NumberTool
currency, format, format, format, getNumberFormat, integer, number, percent, toNumber, toNumber, toNumber
-
-