All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.roguewave.examples.money.currency.v1_0.CurrencyExample

java.lang.Object
   |
   +----com.roguewave.examples.money.currency.v1_0.CurrencyExample

public class CurrencyExample
extends Object
A very simple example using the CurrencyBook class. The example illustrates how to initialize a currency book object from a file and how to access currency information using it.

Author:
Trevor Misfeldt
See Also:
CurrencyBook, Currency

Constructor Index

 o CurrencyExample()

Method Index

 o main(String[])
This example must be run from the directory containing the data text files.

Constructors

 o CurrencyExample
 public CurrencyExample()

Methods

 o main
 public static void main(String args[])
This example must be run from the directory containing the data text files. Run program by using this command:

java com.roguewave.examples.money.currency.v1_0.CurrencyExample

Output should appear as follows:

 1279433.23 dinar + 908070432.65 dinar = 909349865.88 dinar
 The sum in centimes = DZD 90934986588
 


All Packages  Class Hierarchy  This Package  Previous  Next  Index