Interface NumberStringLiteralConverter<V extends Number>

Type Parameters:
V - The value type this converter supports.
All Superinterfaces:
Converter<V,String>, com.globalmentor.beans.PropertyBindable
All Known Implementing Classes:
AbstractNumberStringLiteralConverter, DoubleStringLiteralConverter, FloatStringLiteralConverter, IntegerStringLiteralConverter, LongStringLiteralConverter

public interface NumberStringLiteralConverter<V extends Number> extends Converter<V,String>
Indicates an object that can convert a number from and to a string. This converter supports different representations, including number, currency, percent, and integer. If the currency style is chosen, care should be taken to indicate a specific constant currency unless it is desired that the currency type change whenever the locale changes.
Author:
Garret Wilson
See Also:
  • Field Details

    • USD_CURRENCY

      static final Currency USD_CURRENCY
      United States Dollar currency.
    • EUR_CURRENCY

      static final Currency EUR_CURRENCY
      Euro currency.