jAudioFeatureExtractor
Interface Updater

All Known Implementing Classes:
BatchExecutionThread, CommandLineThread, ExtractionThread

public interface Updater

Interface used by the underlying system to provide updates on system progress without locking the execution into a particular type of view (gui or console).

Author:
Daniel McEnnis

Method Summary
 void announceUpdate(int fileDone)
          Called periodically when processing a file
 void announceUpdate(int fileNumber, int fileDone)
          Called when a file is completed.
 void setFileLength(int windows)
          Establishes how big the current file is.
 void setNumberOfFiles(int files)
          Establishes how many files are in this execution
 

Method Detail

announceUpdate

void announceUpdate(int fileNumber,
                    int fileDone)
Called when a file is completed.

Parameters:
fileNumber - How many files are completed.
fileDone - Position in the file (usually 0).

announceUpdate

void announceUpdate(int fileDone)
Called periodically when processing a file

Parameters:
fileDone - Position in file.

setNumberOfFiles

void setNumberOfFiles(int files)
Establishes how many files are in this execution

Parameters:
files - Number of files to be processed.

setFileLength

void setFileLength(int windows)
Establishes how big the current file is.

Parameters:
windows - Total number of windows of data to be processed.