javazoom.spi.vorbis.sampled.file

Class VorbisAudioFileReader

public class VorbisAudioFileReader extends TAudioFileReader

This class implements the AudioFileReader class and provides an Ogg Vorbis file reader for use with the Java Sound Service Provider Interface.
Constructor Summary
VorbisAudioFileReader()
Method Summary
AudioFileFormatgetAudioFileFormat(File file)
Return the AudioFileFormat from the given file.
AudioFileFormatgetAudioFileFormat(URL url)
Return the AudioFileFormat from the given URL.
AudioFileFormatgetAudioFileFormat(InputStream inputStream)
Return the AudioFileFormat from the given InputStream.
AudioFileFormatgetAudioFileFormat(InputStream inputStream, long medialength)
Return the AudioFileFormat from the given InputStream and length in bytes.
protected AudioFileFormatgetAudioFileFormat(InputStream bitStream, int mediaLength, int totalms)
Return the AudioFileFormat from the given InputStream, length in bytes and length in milliseconds.
AudioInputStreamgetAudioInputStream(InputStream inputStream)
Return the AudioInputStream from the given InputStream.
AudioInputStreamgetAudioInputStream(InputStream inputStream, int medialength, int totalms)
Return the AudioInputStream from the given InputStream.
AudioInputStreamgetAudioInputStream(File file)
Return the AudioInputStream from the given File.
AudioInputStreamgetAudioInputStream(URL url)
Return the AudioInputStream from the given URL.

Constructor Detail

VorbisAudioFileReader

public VorbisAudioFileReader()

Method Detail

getAudioFileFormat

public AudioFileFormat getAudioFileFormat(File file)
Return the AudioFileFormat from the given file.

getAudioFileFormat

public AudioFileFormat getAudioFileFormat(URL url)
Return the AudioFileFormat from the given URL.

getAudioFileFormat

public AudioFileFormat getAudioFileFormat(InputStream inputStream)
Return the AudioFileFormat from the given InputStream.

getAudioFileFormat

public AudioFileFormat getAudioFileFormat(InputStream inputStream, long medialength)
Return the AudioFileFormat from the given InputStream and length in bytes.

getAudioFileFormat

protected AudioFileFormat getAudioFileFormat(InputStream bitStream, int mediaLength, int totalms)
Return the AudioFileFormat from the given InputStream, length in bytes and length in milliseconds.

getAudioInputStream

public AudioInputStream getAudioInputStream(InputStream inputStream)
Return the AudioInputStream from the given InputStream.

getAudioInputStream

public AudioInputStream getAudioInputStream(InputStream inputStream, int medialength, int totalms)
Return the AudioInputStream from the given InputStream.

getAudioInputStream

public AudioInputStream getAudioInputStream(File file)
Return the AudioInputStream from the given File.

getAudioInputStream

public AudioInputStream getAudioInputStream(URL url)
Return the AudioInputStream from the given URL.
JavaZOOM 1999-2008