connection
Class InternetConnection
java.lang.Object
connection.InternetConnection
public class InternetConnection
- extends java.lang.Object
Gets currency information across a given API.
(API provides an XML, InternetConnection parses that XML)
Constructor Summary |
InternetConnection(java.lang.String bank,
java.lang.String currency)
Constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternetConnection
public InternetConnection(java.lang.String bank,
java.lang.String currency)
throws CurrencyException,
InternetConnectionException
- Constructor
- Throws:
CurrencyException
InternetConnectionException
getCurrency
public Currency getCurrency()
getCurrencyWritten
public java.lang.String getCurrencyWritten()