public class BinaryRateReader extends Object implements AutoCloseable
| Constructor and Description |
|---|
BinaryRateReader(File fileName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and release resources
|
FileHeader |
getHeader()
Gets the file header
|
RateEntry |
readRecord()
Read an entry from the file
|
public BinaryRateReader(File fileName) throws IOException
fileName - the report file nameIOException - in case of I/O errorspublic FileHeader getHeader()
public RateEntry readRecord() throws IOException
IOException - if unable to read the entrypublic void close()
close in interface AutoCloseableThis documentation was released into the public domain.