public class CurrencyStringConverter extends NumberStringConverter
通貨を表すNumber値に対するStringConverterの実装
PercentageStringConverter, NumberStringConverter, StringConverter| コンストラクタと説明 |
|---|
CurrencyStringConverter() |
CurrencyStringConverter(Locale locale) |
CurrencyStringConverter(Locale locale, String pattern) |
CurrencyStringConverter(NumberFormat numberFormat) |
CurrencyStringConverter(String pattern) |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected NumberFormat |
getNumberFormat()
この
StringConverterでのフォーマットおよび解析に使用するNumberFormatインスタンスを返します。 |
fromString, toStringpublic CurrencyStringConverter()
public CurrencyStringConverter(Locale locale)
public CurrencyStringConverter(String pattern)
public CurrencyStringConverter(NumberFormat numberFormat)
protected NumberFormat getNumberFormat()
このStringConverterでのフォーマットおよび解析に使用するNumberFormatインスタンスを返します。
getNumberFormat、クラスNumberStringConverterCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.