 import java.io.*;
 import javagently.*;

 class Rates {
   /* The Rates class   by J M Bishop  Dec 1998
    * ---------------   updated by B Worrall Aug 2000
    * Stores a country name, currency, code and rate
    */

   String country;
   String code;
   String currency;
   double conversion;

   void setRate (Stream in) throws IOException {
     code = in.readString();
     country = in.readString();
     currency = in.readString();
     // we don't want the first rate,
     // ignore it by reading over it
     conversion = in.readDouble();
     conversion = in.readDouble();
   }

   public String toString () {
     return country;
   }

  }
