|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for entities acting as a currency srver.
Method Summary | |
Collection |
getCurrencies()
Return all currencies supported by this server. |
Currency |
getCurrency(String isoCode)
Return a specfic currency (or null if this currency is not supported). |
Date |
getDate()
Get date of exchange rate information. |
double |
getExchangeRate(Currency currency)
Get exchange rate between this currency and the base currency (US$) |
String |
getName()
Get name of this currency server. |
String |
getUrl()
Get URL of this currency server. |
Method Detail |
public String getName()
public String getUrl()
public Collection getCurrencies()
public Currency getCurrency(String isoCode)
isoCode
- ISO code of the currency to get.
public double getExchangeRate(Currency currency)
currency
- Currency to get exchange rate for.
public Date getDate()
|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |