public class FFAudioFileReader extends AudioFileReader
AudioFileFormat
instance.Constructor and Description |
---|
FFAudioFileReader() |
public AudioFileFormat[] getAudioFileFormats(InputStream stream) throws UnsupportedAudioFileException, IOException
public AudioFileFormat getAudioFileFormat(InputStream stream) throws UnsupportedAudioFileException, IOException
getAudioFileFormat
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException
getAudioFileFormat
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioFileFormat[] getAudioFileFormats(File file) throws UnsupportedAudioFileException, IOException
AudioFileFormat
s for the given file.
Multiple objects are returned, if the file contains multiple streams, e.g. for
STEM files.file
- fileAudioFileFormat
s for the given URLUnsupportedAudioFileException
- if the audio is not supportedIOException
- if an IO error occursgetAudioFileFormat(File)
public AudioFileFormat[] getAudioFileFormats(URL url) throws UnsupportedAudioFileException, IOException
AudioFileFormat
s for the given file.
Multiple objects are returned, if the file contains multiple streams, e.g. for
Stem files.url
- urlAudioFileFormat
s for the given URLUnsupportedAudioFileException
- if the audio is not supportedIOException
- if an IO error occursgetAudioFileFormat(URL)
public AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException
getAudioFileFormat
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException
getAudioInputStream
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException
getAudioInputStream
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException
getAudioInputStream
in class AudioFileReader
UnsupportedAudioFileException
IOException
public AudioInputStream getAudioInputStream(InputStream stream, int streamIndex) throws UnsupportedAudioFileException, IOException
stream
- streamstreamIndex
- audio stream indexUnsupportedAudioFileException
- if the audio is not supportedIOException
- if an IO error occursIndexOutOfBoundsException
- if the index is not valid.getAudioInputStream(URL)
,
getAudioInputStream(File, int)
public AudioInputStream getAudioInputStream(URL url, int streamIndex) throws UnsupportedAudioFileException, IOException
url
- urlstreamIndex
- audio stream indexUnsupportedAudioFileException
- if the audio is not supportedIOException
- if an IO error occursIndexOutOfBoundsException
- if the index is not valid.getAudioInputStream(URL)
,
getAudioInputStream(File, int)
public AudioInputStream getAudioInputStream(File file, int streamIndex) throws UnsupportedAudioFileException, IOException
file
- filestreamIndex
- audio stream indexUnsupportedAudioFileException
- if the audio is not supportedIOException
- if an IO error occursIndexOutOfBoundsException
- if the index is not valid.getAudioInputStream(URL, int)
,
getAudioInputStream(File)
Copyright © 2013–2023 tagtraum industries incorporated. All rights reserved.