public class NewFileHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
Log
The Constant Log.
|
| Constructor and Description |
|---|
NewFileHandler() |
| Modifier and Type | Method and Description |
|---|---|
static NewFileHandler |
getInstance()
Gets the single instance of NewFileHandler.
|
java.lang.String |
getReportDatePrefix()
Gets the report date prefix.
|
SQResultsGroup |
loadResultFromFile(java.lang.String fileName)
Load result from file.
|
void |
saveResultToFile(SQResultsGroup sr,
java.lang.String fileName)
Save result to file.
|
public static NewFileHandler getInstance()
public void saveResultToFile(SQResultsGroup sr, java.lang.String fileName) throws java.lang.Exception
sr - the srfileName - the file namejava.lang.Exception - the exceptionpublic SQResultsGroup loadResultFromFile(java.lang.String fileName) throws java.lang.Exception
fileName - the file namejava.lang.Exception - the exceptionpublic java.lang.String getReportDatePrefix()