|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.sound.sampled.spi.AudioFileReader
org.kc7bfi.jflac.sound.spi.FlacAudioFileReader
public class FlacAudioFileReader
Provider for Flac audio file reading services. This implementation can parse the format information from Flac audio file, and can produce audio input streams from files of this type.
| Constructor Summary | |
|---|---|
FlacAudioFileReader()
|
|
| Method Summary | |
|---|---|
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.File file)
Obtains the audio file format of the File provided. |
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.io.InputStream stream)
Obtains an audio input stream from the input stream provided. |
javax.sound.sampled.AudioFileFormat |
getAudioFileFormat(java.net.URL url)
Obtains an audio input stream from the URL provided. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.io.File file)
Obtains an audio input stream from the File provided. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.io.InputStream stream)
Obtains an audio input stream from the input stream provided. |
javax.sound.sampled.AudioInputStream |
getAudioInputStream(java.net.URL url)
Obtains an audio input stream from the URL provided. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlacAudioFileReader()
| Method Detail |
|---|
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.File file)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioFileFormat in class javax.sound.sampled.spi.AudioFileReaderfile - the File from which file format information should be
extracted.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.net.URL url)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioFileFormat in class javax.sound.sampled.spi.AudioFileReaderurl - the URL for which the AudioInputStream should be constructed.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream stream)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioFileFormat in class javax.sound.sampled.spi.AudioFileReaderstream - the input stream from which the AudioInputStream should be
constructed.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.File file)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioInputStream in class javax.sound.sampled.spi.AudioFileReaderfile - the File for which the AudioInputStream should be constructed.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.net.URL url)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioInputStream in class javax.sound.sampled.spi.AudioFileReaderurl - the URL for which the AudioInputStream should be constructed.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream stream)
throws javax.sound.sampled.UnsupportedAudioFileException,
java.io.IOException
getAudioInputStream in class javax.sound.sampled.spi.AudioFileReaderstream - the input stream from which the AudioInputStream should be
constructed.
javax.sound.sampled.UnsupportedAudioFileException - if the File does not point to a valid audio file data
recognized by the system.
java.io.IOException - if an I/O exception occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||