public class AcctFile
extends java.lang.Object
| Constructor and Description |
|---|
AcctFile(java.lang.String fnm)
Construct instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close accounting file.
|
boolean |
more()
More records.
|
AcctRec |
read()
Read accounting record sequentially.
|
public AcctFile(java.lang.String fnm)
throws java.io.IOException
fnm - accounting data filejava.io.IOException - if error opening filepublic AcctRec read() throws dk.vajhoej.record.RecordException, java.io.IOException
dk.vajhoej.record.RecordException - if error parsing accounting recordjava.io.IOException - if error reading accounting record from accounting filepublic boolean more()
throws java.io.IOException
java.io.IOException - if error accessing accounting filepublic void close()
throws java.io.IOException
java.io.IOException - if error closing accounting file