Package com.logicaldoc.core.automation
Class AutomationNumberTool
- 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.AutomationNumberTool
-
- All Implemented Interfaces:
Serializable
public class AutomationNumberTool 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutomationNumberTool()
-
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
-
-