public abstract class StatsWriter extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected String |
fileName
The file name.
|
protected BufferedWriter |
writer
The writer.
|
| Constructor and Description |
|---|
StatsWriter(String fileName)
Instantiates a new stats writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
create()
Creates the.
|
abstract void |
writeHeader()
Write header.
|
protected BufferedWriter writer
protected String fileName
public StatsWriter(String fileName)
fileName - the file namepublic abstract void writeHeader()
throws IOException
IOException - Signals that an I/O exception has occurred.public void create()
throws IOException
IOException - Signals that an I/O exception has occurred.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 SEMS project @ University of Rostock. All rights reserved.