Package ipsk.audio.impl.j2audio
Class FileWriterThread
- java.lang.Object
- 
- java.lang.Thread
- 
- ipsk.audio.impl.j2audio.FileWriterThread
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 
 public class FileWriterThread extends java.lang.ThreadAudio file writer in an own thread.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
 
- 
- 
Constructor SummaryConstructors Constructor Description FileWriterThread(FileWriterListener listener, javax.sound.sampled.AudioInputStream ais, javax.sound.sampled.AudioFileFormat.Type aff, java.io.File outFile)Create new file writer.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()java.lang.ExceptiongetException()voidrun()- 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from class java.lang.ThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
- 
 
- 
- 
- 
Field Detail- 
IDLEpublic static final int IDLE - See Also:
- Constant Field Values
 
 - 
WRITINGpublic static final int WRITING - See Also:
- Constant Field Values
 
 - 
DONEpublic static final int DONE - See Also:
- Constant Field Values
 
 - 
ERRORpublic static final int ERROR - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
FileWriterThreadpublic FileWriterThread(FileWriterListener listener, javax.sound.sampled.AudioInputStream ais, javax.sound.sampled.AudioFileFormat.Type aff, java.io.File outFile) Create new file writer.- Parameters:
- listener- notified on events
- ais- the audio stream to read from
- aff- the audio file format
- outFile- the audio file to write to
 
 
- 
 
-