|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.instantbank.component.lettertemplate.util.VariablesFormat.Rounder
Implementation of MakeUpFormat intended for formatting numbers (not SSN nor Phone)
| Field Summary | |
(package private) int |
left
|
(package private) boolean |
leftTrimmer
|
(package private) int |
right
|
| Constructor Summary | |
VariablesFormat.Rounder()
Period is trimmed, no other truncation. |
|
VariablesFormat.Rounder(int right)
Period is not trimmed, only right truncation. |
|
VariablesFormat.Rounder(int left,
int right)
Period is not trimmed, there are left and right truncation. |
|
| Method Summary | |
java.lang.String |
trim(java.lang.String s)
trim |
java.lang.String |
trimPeriod(java.lang.String s)
trimPeriod |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
int left
int right
boolean leftTrimmer
| Constructor Detail |
public VariablesFormat.Rounder()
public VariablesFormat.Rounder(int right)
right -
public VariablesFormat.Rounder(int left,
int right)
left - right - | Method Detail |
public java.lang.String trim(java.lang.String s)
trim in interface VariablesFormat.MakeUpFormats - public java.lang.String trimPeriod(java.lang.String s)
trimPeriod in interface VariablesFormat.MakeUpFormats -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||