In addition to setting localization values that are required by the LocalizableTextFormatter interface, you can set a number of optional values in application code, either through the constructor or by calling any of several methods for that purpose. With optional values, you can do the following actions:
Object[] arg = {new String(getAccountNumber())};
Because the array is passed by value rather than by reference, any updates to the array variable after this point are not reflected in the LocalizableTextFormatter instance unless it is reset by calling the setArguments(Object[]) method.
Related tasks
Customizing the behavior of a formatting method
Composing language-specific strings
Related reference
LocalizableTextFormatter class