Class CurrencyStringConverter

java.lang.Object
org.tquadrat.foundation.util.stringconverter.CurrencyStringConverter
All Implemented Interfaces:
Serializable, StringConverter<Currency>

@ClassVersion(sourceVersion="$Id: CurrencyStringConverter.java 1060 2023-09-24 19:21:40Z tquadrat $") @API(status=STABLE, since="0.1.0") public final class CurrencyStringConverter extends Object implements StringConverter<Currency>

An implementation of StringConverter for Currency values.

The method fromString(CharSequence) will use Currency.getInstance(String) to retrieve a Currency based on the given ISO 4217 code.}.

The method toString(Currency) will use Currency.getCurrencyCode() to return the ISO 4217 code to the given Currency instance.

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: CurrencyStringConverter.java 1060 2023-09-24 19:21:40Z tquadrat $
Since:
0.0.6
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.util.stringconverter.CurrencyStringConverter"

UML Diagram for "org.tquadrat.foundation.util.stringconverter.CurrencyStringConverter"

UML Diagram for "org.tquadrat.foundation.util.stringconverter.CurrencyStringConverter"