Package javazoom.spi.vorbis.sampled.file
Class VorbisAudioFileReader
java.lang.Object
TAudioFileReader
javazoom.spi.vorbis.sampled.file.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAudioFileFormat
(File file) Return the AudioFileFormat from the given file.getAudioFileFormat
(InputStream inputStream) Return the AudioFileFormat from the given InputStream.protected AudioFileFormat
getAudioFileFormat
(InputStream bitStream, int mediaLength, int totalms) Return the AudioFileFormat from the given InputStream, length in bytes and length in milliseconds.getAudioFileFormat
(InputStream inputStream, long medialength) Return the AudioFileFormat from the given InputStream and length in bytes.getAudioFileFormat
(URL url) Return the AudioFileFormat from the given URL.getAudioInputStream
(File file) Return the AudioInputStream from the given File.getAudioInputStream
(InputStream inputStream) Return the AudioInputStream from the given InputStream.getAudioInputStream
(InputStream inputStream, int medialength, int totalms) Return the AudioInputStream from the given InputStream.getAudioInputStream
(URL url) Return the AudioInputStream from the given URL.
-
Constructor Details
-
VorbisAudioFileReader
public VorbisAudioFileReader()
-
-
Method Details
-
getAudioFileFormat
public AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException Return the AudioFileFormat from the given file. -
getAudioFileFormat
public AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException Return the AudioFileFormat from the given URL. -
getAudioFileFormat
public AudioFileFormat getAudioFileFormat(InputStream inputStream) throws UnsupportedAudioFileException, IOException Return the AudioFileFormat from the given InputStream. -
getAudioFileFormat
public AudioFileFormat getAudioFileFormat(InputStream inputStream, long medialength) throws UnsupportedAudioFileException, IOException Return the AudioFileFormat from the given InputStream and length in bytes. -
getAudioFileFormat
protected AudioFileFormat getAudioFileFormat(InputStream bitStream, int mediaLength, int totalms) throws UnsupportedAudioFileException, IOException Return the AudioFileFormat from the given InputStream, length in bytes and length in milliseconds. -
getAudioInputStream
public AudioInputStream getAudioInputStream(InputStream inputStream) throws UnsupportedAudioFileException, IOException Return the AudioInputStream from the given InputStream. -
getAudioInputStream
public AudioInputStream getAudioInputStream(InputStream inputStream, int medialength, int totalms) throws UnsupportedAudioFileException, IOException Return the AudioInputStream from the given InputStream. -
getAudioInputStream
public AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException Return the AudioInputStream from the given File. -
getAudioInputStream
public AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException Return the AudioInputStream from the given URL.
-