public class FileDataExporter extends DataExporterImpl
dataService, messages
Constructor and Description |
---|
FileDataExporter() |
Modifier and Type | Method and Description |
---|---|
String |
exportData(Component parentFrame,
Module module,
int fromSessionIndex,
DataExporterError exporterError)
Exports the module data to a file
|
String |
getExporterName()
Get the action name
|
static String |
getExtension(File f) |
String |
getPath() |
boolean |
isRelativeToHome() |
static String |
removeSpecialCharacters(String str) |
void |
setPath(String path) |
void |
setRelativeToHome(boolean relativeToHome) |
getAutoExport, getDataService, getId, getIncrementalExport, isAutoExport, isIncrementalExport, setAutoExport, setDataService, setId, setIncrementalExport, setMessages
public String exportData(Component parentFrame, Module module, int fromSessionIndex, DataExporterError exporterError)
exportData
in interface DataExporter
exportData
in class DataExporterImpl
fromSessionIndex
- the first session index to export from. -1 for all sessionspublic String getPath()
public void setPath(String path)
public boolean isRelativeToHome()
public void setRelativeToHome(boolean relativeToHome)
public String getExporterName()
getExporterName
in interface DataExporter
getExporterName
in class DataExporterImpl
Copyright © 2013. All Rights Reserved.