public class PercentageStringConverter extends NumberStringConverter
StringConverter implementation for Number values
that represent percentages.
CurrencyStringConverter,
NumberStringConverter,
StringConverter| Constructor and Description |
|---|
PercentageStringConverter() |
PercentageStringConverter(Locale locale) |
PercentageStringConverter(NumberFormat numberFormat) |
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
getNumberFormat()
Return a
NumberFormat instance to use for formatting
and parsing in this StringConverter. |
fromString, toStringpublic PercentageStringConverter()
public PercentageStringConverter(Locale locale)
public PercentageStringConverter(NumberFormat numberFormat)
public NumberFormat getNumberFormat()
Return a NumberFormat instance to use for formatting
and parsing in this StringConverter.
getNumberFormat in class NumberStringConverterCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.