org.archiviststoolkit.exporter
Class MARCBatchExportHandler
java.lang.Object
org.archiviststoolkit.exporter.MARCBatchExportHandler
- All Implemented Interfaces:
- java.lang.Runnable
public class MARCBatchExportHandler
- 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 |
file
public java.io.File file
resource
Resources resource
digitalObject
DigitalObjects digitalObject
exportOptions
ExportOptionsMARC exportOptions
MARCBatchExportHandler
public MARCBatchExportHandler(ExportOptionsMARC exportOptions)
startExportThread
public boolean startExportThread(java.io.File exportFile,
Resources resource)
- 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,
java.util.Vector<DomainObject> resources,
InfiniteProgressPanel progressPanel)
exportDO
public void exportDO(java.io.File exportFile,
DigitalObjects digObj,
InfiniteProgressPanel progressPanel)