Spec-Zone .ru
спецификации, руководства, описания, API
|
public class CurrencyStringConverter extends NumberStringConverter
StringConverter
implementation for Number
values
that represent currency.
Constructor and Description |
---|
CurrencyStringConverter() |
CurrencyStringConverter(java.util.Locale locale) |
CurrencyStringConverter(java.util.Locale locale,
java.lang.String pattern) |
CurrencyStringConverter(java.text.NumberFormat numberFormat) |
CurrencyStringConverter(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
protected java.text.NumberFormat |
getNumberFormat()
Return a
NumberFormat instance to use for formatting
and parsing in this StringConverter . |
fromString, toString
public CurrencyStringConverter()
public CurrencyStringConverter(java.util.Locale locale)
public CurrencyStringConverter(java.lang.String pattern)
public CurrencyStringConverter(java.util.Locale locale, java.lang.String pattern)
public CurrencyStringConverter(java.text.NumberFormat numberFormat)
protected java.text.NumberFormat getNumberFormat()
Return a NumberFormat
instance to use for formatting
and parsing in this StringConverter
.
getNumberFormat
in class NumberStringConverter
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to