@Test public void testReplaceNbspWithSpace() { assertEquals(replaceNbspWithSpace("14\u202F000,12\u00A0EUR"), "14 000,12 EUR"); }
public static String replaceNbspWithSpace(String s) { return s.replace(NBSP, ' ').replace(NNBSP, ' '); }
MoneyUtils { public static String replaceNbspWithSpace(String s) { return s.replace(NBSP, ' ').replace(NNBSP, ' '); } }
MoneyUtils { public static String replaceNbspWithSpace(String s) { return s.replace(NBSP, ' ').replace(NNBSP, ' '); } private  MoneyUtils(); }
MoneyUtils { public static String replaceNbspWithSpace(String s) { return s.replace(NBSP, ' ').replace(NNBSP, ' '); } private  MoneyUtils(); static BigDecimal getBigDecimal(long num); static BigDecimal getBigDecimal(double num); static BigDecimal getBigDecimal(Number num); static BigDecimal getBigDecimal(Number num, MonetaryContext moneyContext); static MathContext getMathContext(MonetaryContext monetaryContext, RoundingMode defaultMode); static void checkAmountParameter(MonetaryAmount amount, CurrencyUnit currencyUnit); static void checkNumberParameter(Number number); static String replaceNbspWithSpace(String s); }
MoneyUtils { public static String replaceNbspWithSpace(String s) { return s.replace(NBSP, ' ').replace(NNBSP, ' '); } private  MoneyUtils(); static BigDecimal getBigDecimal(long num); static BigDecimal getBigDecimal(double num); static BigDecimal getBigDecimal(Number num); static BigDecimal getBigDecimal(Number num, MonetaryContext moneyContext); static MathContext getMathContext(MonetaryContext monetaryContext, RoundingMode defaultMode); static void checkAmountParameter(MonetaryAmount amount, CurrencyUnit currencyUnit); static void checkNumberParameter(Number number); static String replaceNbspWithSpace(String s); static final String NBSP_STRING; static final String NNBSP_STRING; static final char NBSP; static final char NNBSP; }