ch.tatool.app.export
Class FileDataExporter
java.lang.Object
ch.tatool.app.export.DataExporterImpl
ch.tatool.app.export.FileDataExporter
- All Implemented Interfaces:
- DataExporter
public class FileDataExporter
- extends DataExporterImpl
Exports module data into a directory chosen by the uesr.
- Author:
- Michael Ruflin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDataExporter
public FileDataExporter()
exportData
public String exportData(Component parentFrame,
Module module,
int fromSessionIndex,
DataExporterError exporterError)
- Exports the module data to a file
- Specified by:
exportData in interface DataExporter- Overrides:
exportData in class DataExporterImpl
removeSpecialCharacters
public static String removeSpecialCharacters(String str)
getExtension
public static String getExtension(File f)
getPath
public String getPath()
setPath
public void setPath(String path)
isRelativeToHome
public boolean isRelativeToHome()
setRelativeToHome
public void setRelativeToHome(boolean relativeToHome)
getExporterName
public String getExporterName()
- Get the action name
- Specified by:
getExporterName in interface DataExporter- Overrides:
getExporterName in class DataExporterImpl
Copyright © 2012. All Rights Reserved.