org.archiviststoolkit.exporter
Class METSExportHandler
java.lang.Object
org.archiviststoolkit.exporter.METSExportHandler
- All Implemented Interfaces:
- java.lang.Runnable
public class METSExportHandler
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METSExportHandler
public METSExportHandler(ExportOptionsMETS exportOptions)
startExportThread
public boolean startExportThread(java.io.File exportFile,
DigitalObjects digitalObject)
- Kick off the export thread.
- Parameters:
exportFile
- the file to import
- Returns:
- if we succeeded or not
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
export
public void export(java.io.File exportFile,
DigitalObjects digitalObject,
InfiniteProgressPanel progressPanel)
export
public void export(java.io.File exportFile,
java.util.Vector<DigitalObjects> digitalObjects,
InfiniteProgressPanel progressPanel)
- Method to do batch export of digital object records to METS records
- Parameters:
exportFile
- The file or directory to export records todigitalObjects
- Vector containing the digital objects to exportprogressPanel
- Panel for displaying the progress of the export process