| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract AudioFileFormat | Returns: anAudioFileFormat object describing the audio file
formatthe input stream from which file format information should
be extracted stream)Obtains the audio file format of the input stream provided. |
| public abstract AudioFileFormat | Returns: anAudioFileFormat object describing the audio file
formatthe url)URL from which file format information should be
extractedObtains the audio file format of the |
| public abstract AudioFileFormat | Returns: anAudioFileFormat object describing the audio file
formatthe file)File from which file format information should
be extractedObtains the audio file format of the |
| public abstract AudioInputStream | Returns: anAudioInputStream object based on the audio file data
contained in the input streamthe input stream from which the stream)AudioInputStream
should be constructedObtains an audio input stream from the input stream provided. |
| public abstract AudioInputStream | Returns: anAudioInputStream object based on the audio file data
pointed to by the URLthe url)URL for which the AudioInputStream should
be constructedObtains an audio input stream from the |
| public abstract AudioInputStream | Returns: anAudioInputStream object based on the audio file data
pointed to by the Filethe file)File for which the AudioInputStream
should be constructedObtains an audio input stream from the |
| AudioFileReader | back to summary |
|---|---|
| protected AudioFileReader() Constructor for subclasses to call. | |
| getAudioFileFormat | back to summary |
|---|---|
| public abstract 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 readers 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 reset the stream's
read pointer to its original position. If the input stream does not
support this, this method may fail with an
| |
| getAudioFileFormat | back to summary |
|---|---|
| public abstract AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException Obtains the audio file format of the
| |
| getAudioFileFormat | back to summary |
|---|---|
| public abstract AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException Obtains the audio file format of the
| |
| getAudioInputStream | back to summary |
|---|---|
| public abstract AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException Obtains an audio input stream from the input stream provided. The stream
must point to valid audio file data. In general, audio file readers 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 reset the stream's
read pointer to its original position. If the input stream does not
support this, this method may fail with an
| |
| getAudioInputStream | back to summary |
|---|---|
| public abstract AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException Obtains an audio input stream from the
| |
| getAudioInputStream | back to summary |
|---|---|
| public abstract AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException Obtains an audio input stream from the
| |