as.clynx.audio.enc.tools
Class EncodingConverter

java.lang.Object
  extended by as.clynx.audio.enc.tools.EncodingConverter
All Implemented Interfaces:
IConverter

public class EncodingConverter
extends java.lang.Object
implements IConverter

The class EncodingConverter.java implements IConverter an converts a passed stream to the defined encoding.

Version:
cLynx v.1.2, JDK 6.0: 12.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
EncodingConverter(javax.sound.sampled.AudioInputStream sourceStream, javax.sound.sampled.AudioFormat.Encoding targetEncoding, boolean bigEndian, int fBitRate)
          Constructor
 
Method Summary
 javax.sound.sampled.AudioInputStream getTargetStream()
          returns the resulted AudioInputStream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingConverter

public EncodingConverter(javax.sound.sampled.AudioInputStream sourceStream,
                         javax.sound.sampled.AudioFormat.Encoding targetEncoding,
                         boolean bigEndian,
                         int fBitRate)
                  throws javax.sound.sampled.UnsupportedAudioFileException,
                         java.io.IOException
Constructor

Parameters:
sourceStream -
targetEncoding -
bigEndian -
fBitRate -
Throws:
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
Method Detail

getTargetStream

public javax.sound.sampled.AudioInputStream getTargetStream()
returns the resulted AudioInputStream.

Specified by:
getTargetStream in interface IConverter
Returns:
the resulted AudioInputStream.