public class StatsFile extends Object
Constructor and Description |
---|
StatsFile(FileIO fileIO,
PathFactory pathFactory) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String fileName) |
boolean |
exists(String fileName) |
Statistics |
read(String fileName)
Read stats from stat file name.
|
String |
write(Statistics stats)
Write stats to a stats file.
|
public StatsFile(FileIO fileIO, PathFactory pathFactory)
public Statistics read(String fileName)
public String write(Statistics stats)
public void delete(String fileName)
public boolean exists(String fileName)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.