org.tritonus.share.sampled.file
Class HeaderlessAudioOutputStream

java.lang.Object
  extended byorg.tritonus.share.sampled.file.TAudioOutputStream
      extended byorg.tritonus.share.sampled.file.HeaderlessAudioOutputStream
All Implemented Interfaces:
AudioOutputStream

public class HeaderlessAudioOutputStream
extends TAudioOutputStream

AudioOutputStream for files without a header; the input is written as it is

Author:
Florian Bomers

Constructor Summary
HeaderlessAudioOutputStream(AudioFormat audioFormat, long lLength, TDataOutputStream dataOutputStream)
           
 
Method Summary
protected  void writeHeader()
          Writes the header of the audio file.
 
Methods inherited from class org.tritonus.share.sampled.file.TAudioOutputStream
close, getCalculatedLength, getDataOutputStream, getFormat, getLength, patchHeader, setLengthFromCalculatedLength, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderlessAudioOutputStream

public HeaderlessAudioOutputStream(AudioFormat audioFormat,
                                   long lLength,
                                   TDataOutputStream dataOutputStream)
Method Detail

writeHeader

protected void writeHeader()
                    throws IOException
Description copied from class: TAudioOutputStream
Writes the header of the audio file.

Specified by:
writeHeader in class TAudioOutputStream
Throws:
IOException