code: private Format getFormatter(final String pattern, final Object argument) {
  		if (pattern.indexOf('|') != -1) {
  			int start = pattern.indexOf('{');
  			if (start >= 0 && start < pattern.lastIndexOf('}')) {
  				return new ChoiceFormat(format(pattern, new Object[] { argument }));
  			} else {
  				return new ChoiceFormat(pattern);
  			}
  		} else {
  			return new DecimalFormat(pattern, symbols);
  		}
  	}
docs: Gets the format object for a pattern of a placeholder. {@link ChoiceFormat} and {@link DecimalFormat} are
  supported.
  
  @param pattern
  Pattern of placeholder
  @param argument
  Replacement for placeholder
  @return Format object