Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: WaveFileReader [javadoc | source]
java.lang.Object
   javax.sound.sampled.spi.AudioFileReader
      com.sun.media.sound.SunFileReader
         com.sun.media.sound.WaveFileReader
WAVE file reader.
Field Summary
public static final  Type[] types    WAVE reader type 
Fields inherited from com.sun.media.sound.SunFileReader:
bisBufferSize
Constructor:
 public WaveFileReader() 
Method from com.sun.media.sound.WaveFileReader Summary:
getAudioFileFormat,   getAudioFileFormat,   getAudioFileFormat,   getAudioInputStream,   getAudioInputStream,   getAudioInputStream
Methods from com.sun.media.sound.SunFileReader:
big2little,   big2littleShort,   calculatePCMFrameSize,   getAudioFileFormat,   getAudioFileFormat,   getAudioFileFormat,   getAudioInputStream,   getAudioInputStream,   getAudioInputStream,   rllong,   rlshort
Methods from javax.sound.sampled.spi.AudioFileReader:
getAudioFileFormat,   getAudioFileFormat,   getAudioFileFormat,   getAudioInputStream,   getAudioInputStream,   getAudioInputStream
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.WaveFileReader Detail:
 public AudioFileFormat getAudioFileFormat(InputStream stream) throws UnsupportedAudioFileException, IOException 
    Obtains the audio file format of the input stream provided. The stream must point to valid audio file data. In general, audio file providers may need to read some data from the stream before determining whether they support it. These parsers must be able to mark the stream, read enough data to determine whether they support the stream, and, if not, reset the stream's read pointer to its original position. If the input stream does not support this, this method may fail with an IOException.
 public AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException 
    Obtains the audio file format of the URL provided. The URL must point to valid audio file data.
 public AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException 
    Obtains the audio file format of the File provided. The File must point to valid audio file data.
 public AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException 
    Obtains an audio stream from the input stream provided. The stream must point to valid audio file data. In general, audio file providers may need to read some data from the stream before determining whether they support it. These parsers must be able to mark the stream, read enough data to determine whether they support the stream, and, if not, reset the stream's read pointer to its original position. If the input stream does not support this, this method may fail with an IOException.
 public AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException 
    Obtains an audio stream from the URL provided. The URL must point to valid audio file data.
 public AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException 
    Obtains an audio stream from the File provided. The File must point to valid audio file data.