jAudioFeatureExtractor
クラス CommandLineThread

java.lang.Object
  上位を拡張 java.lang.Thread
      上位を拡張 jAudioFeatureExtractor.CommandLineThread
すべての実装されたインタフェース:
Updater, java.lang.Runnable

public class CommandLineThread
extends java.lang.Thread
implements Updater

作成者:
mcennis

入れ子のクラスの概要
 
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
フィールドの概要
 Cancel cancel
           
 
クラス java.lang.Thread から継承されたフィールド
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
コンストラクタの概要
CommandLineThread(Batch b)
           
 
メソッドの概要
 void announceUpdate(int fileDone)
          Called periodically when processing a file
 void announceUpdate(int fileNumber, int fileDone)
          Called when a file is completed.
 void cancel()
           
 void run()
           
 void setFileLength(int windows)
          Establishes how big the current file is.
 void setNumberOfFiles(int files)
          Establishes how many files are in this execution
 
クラス java.lang.Thread から継承されたメソッド
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

cancel

public Cancel cancel
コンストラクタの詳細

CommandLineThread

public CommandLineThread(Batch b)
メソッドの詳細

announceUpdate

public void announceUpdate(int fileNumber,
                           int fileDone)
インタフェース Updater の記述:
Called when a file is completed.

定義:
インタフェース Updater 内の announceUpdate
パラメータ:
fileNumber - How many files are completed.
fileDone - Position in the file (usually 0).

announceUpdate

public void announceUpdate(int fileDone)
インタフェース Updater の記述:
Called periodically when processing a file

定義:
インタフェース Updater 内の announceUpdate
パラメータ:
fileDone - Position in file.

setNumberOfFiles

public void setNumberOfFiles(int files)
インタフェース Updater の記述:
Establishes how many files are in this execution

定義:
インタフェース Updater 内の setNumberOfFiles
パラメータ:
files - Number of files to be processed.

setFileLength

public void setFileLength(int windows)
インタフェース Updater の記述:
Establishes how big the current file is.

定義:
インタフェース Updater 内の setFileLength
パラメータ:
windows - Total number of windows of data to be processed.

cancel

public void cancel()

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run
オーバーライド:
クラス java.lang.Thread 内の run