public class SQFileSaver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
Log
The Constant Log.
|
Constructor and Description |
---|
SQFileSaver(java.lang.String fileFormatVersion)
Instantiates a new SQ file saver.
|
Modifier and Type | Method and Description |
---|---|
void |
closeFile()
Close file.
|
org.jdom2.Document |
createStrategyDoc(SQResultsGroup sr)
Creates the strategy doc.
|
void |
save(SQResultsGroup sr,
java.lang.String fileName)
Save.
|
public SQFileSaver(java.lang.String fileFormatVersion)
fileFormatVersion
- the file format versionpublic void save(SQResultsGroup sr, java.lang.String fileName) throws java.lang.Exception
sr
- the srfileName
- the file namejava.lang.Exception
- the exceptionpublic org.jdom2.Document createStrategyDoc(SQResultsGroup sr) throws java.lang.Exception
sr
- the srjava.lang.Exception
- the exceptionpublic void closeFile() throws java.lang.Exception
java.lang.Exception
- the exception