com.octo.captcha.engine.sound.utils
Class SoundToFile

java.lang.Object
  extended by com.octo.captcha.engine.sound.utils.SoundToFile

public class SoundToFile
extends java.lang.Object

Create a wave file from an AudioInputStream


Constructor Summary
SoundToFile()
           
 
Method Summary
static void serialize(javax.sound.sampled.AudioInputStream pAudioInputStream, java.io.File pFile)
          Create a wave file from an AudioInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundToFile

public SoundToFile()
Method Detail

serialize

public static void serialize(javax.sound.sampled.AudioInputStream pAudioInputStream,
                             java.io.File pFile)
                      throws java.io.IOException
Create a wave file from an AudioInputStream

Parameters:
pAudioInputStream - Audio Steam to serialize
pFile - File to write to audio stream
Throws:
java.io.IOException


Copyright 2003-2009 JCaptcha. All Rights Reserved.