Package net.thauvin.erik.frankfurter
Class AvailableCurrencies
java.lang.Object
net.thauvin.erik.frankfurter.AvailableCurrencies
The AvailableCurrencies class is a utility class that provides methods to retrieve information about available currencies.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Currencies
Fetches the collection of available currencies and their corresponding full names.
-
Method Details
-
getCurrencies
Fetches the collection of available currencies and their corresponding full names.- Returns:
- A
Currencies
object containing a map of available currency symbols to their full names - Throws:
IOException
- If an input or output exception occurs during the API requestJsonSyntaxException
- If the JSON response from the API does not match the expected format
-