previous |
start |
next
The read method of the Purse class
- Unconcerned with exceptions
- Just passes them to caller
public void read(BufferedReader in)
throws IOException
{
boolean done = false;
while (!done)
{
Coin c = new Coin();
if (c.read(in)) add(c);
else done =true;
}
}
previous |
start |
next