Package de.jarnbjo.vorbis
Class VorbisAudioFileReader
java.lang.Object
javax.sound.sampled.spi.AudioFileReader
de.jarnbjo.vorbis.VorbisAudioFileReader
public class VorbisAudioFileReader
extends javax.sound.sampled.spi.AudioFileReader
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VorbisAudioFileReader.VorbisFormatType
static class
VorbisAudioFileReader.VorbisInputStream
-
Constructor Summary
Constructors Constructor Description VorbisAudioFileReader()
-
Method Summary
Modifier and Type Method Description javax.sound.sampled.AudioFileFormat
getAudioFileFormat(java.io.File file)
javax.sound.sampled.AudioFileFormat
getAudioFileFormat(java.io.InputStream inputStream)
javax.sound.sampled.AudioFileFormat
getAudioFileFormat(java.net.URL url)
javax.sound.sampled.AudioInputStream
getAudioInputStream(java.io.File file)
javax.sound.sampled.AudioInputStream
getAudioInputStream(java.io.InputStream inputStream)
javax.sound.sampled.AudioInputStream
getAudioInputStream(java.net.URL url)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VorbisAudioFileReader
public VorbisAudioFileReader()
-
-
Method Details
-
getAudioFileFormat
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.File file) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioFileFormat
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-
getAudioFileFormat
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream inputStream) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioFileFormat
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-
getAudioFileFormat
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.net.URL url) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioFileFormat
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.File file) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioInputStream
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream inputStream) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioInputStream
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.net.URL url) throws java.io.IOException, javax.sound.sampled.UnsupportedAudioFileException- Specified by:
getAudioInputStream
in classjavax.sound.sampled.spi.AudioFileReader
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
-