public class EvaluationSerlializer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
folder |
protected PrintWriter |
writer |
| Constructor and Description |
|---|
EvaluationSerlializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
File |
getFile(String fileName) |
String |
getFileExtension() |
String |
getName() |
String |
getSeparator() |
void |
setFolderPath(File folder) |
void |
setSeparator(String separator) |
void |
writeToFile(List<EvaluationRun> evaluation,
String file)
Gets a list of evaluation run's results and serializes it to a file using the specified separator.
|
protected PrintWriter writer
protected File folder
public boolean close()
public void writeToFile(List<EvaluationRun> evaluation, String file)
evaluation - List to serializefile - The file in which the mapping is to be serializedpublic String getName()
public String getFileExtension()
public String getSeparator()
public void setSeparator(String separator)
public void setFolderPath(File folder)
Copyright © 2020. All rights reserved.