Menu

Commit [r4836]  Maximize  Restore  History

Added overloaded block() method that takes an int param, gets the String.valueOf the int, then does the normal block() logic which substrings and right pads to the specified length. This method is needed by a velocity template when it is calculating the line item line number as an int and then needs to print it as a string within a given block of space on a form.

dennisl-jaffa 2010-10-29

changed /trunk/JaffaComponentsPrinting/source/java/org/jaffa/modules/printing/services/FormFormatHelper.java
/trunk/JaffaComponentsPrinting/source/java/org/jaffa/modules/printing/services/FormFormatHelper.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB