Package Acquisition.sud
Class SudAudioFile.SudMapWorker
java.lang.Object
Acquisition.sud.SudAudioFile.SudMapWorker
- All Implemented Interfaces:
 PamWorkWrapper<AudioInputStream>
- Enclosing class:
 SudAudioFile
Opens an sud file on a different thread and adds a listener for a mapping.
 This allows a callback to show map progress.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanisDone()runBackgroundTask(PamWorker<AudioInputStream> pamWorker) Run the background task which is in it's own threadvoidtaskFinished(AudioInputStream result) Called when the background task completes. 
- 
Constructor Details
- 
SudMapWorker
 
 - 
 - 
Method Details
- 
getSudFile
 - 
getSudAudioStream
 - 
runBackgroundTask
Description copied from interface:PamWorkWrapperRun the background task which is in it's own thread- Specified by:
 runBackgroundTaskin interfacePamWorkWrapper<AudioInputStream>- Parameters:
 pamWorker- reference to the main worker manager. Make repeated calls to pamWorker.update to update progress in the dialog- Returns:
 - the value which will be passed to taskFinished
 
 - 
taskFinished
Description copied from interface:PamWorkWrapperCalled when the background task completes.- Specified by:
 taskFinishedin interfacePamWorkWrapper<AudioInputStream>- Parameters:
 result- result returned by runBackgroundTask or null if an exception occurred.
 - 
isDone
public boolean isDone() 
 -