uk.ac.kcl.cch.jb.pliny.views.utils
Interface IPlinyExporter

All Known Implementing Classes:
PlinyArchiveExporter, PlinyTMExporter

public interface IPlinyExporter

code that wishes to act as an exporter for Pliny data must implement this interface. It will be called by the exporter Action.

Author:
John Bradley
See Also:
ResourceExplorerExportAction

Method Summary
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
          the exportAction will call this method when it is time to do the export.
 void setFileName(String fileName)
          the export Action will call this method to provide a String containing the fully qualified fileName that is to be used for export.
 

Method Detail

setFileName

public void setFileName(String fileName)
the export Action will call this method to provide a String containing the fully qualified fileName that is to be used for export.

Parameters:
fileName -

run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws PlinyExportException
the exportAction will call this method when it is time to do the export.

Parameters:
monitor - monitor to be used during the export
Throws:
PlinyExportException - all internally arising exceptions should be converted to this exception