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 AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException
getAudioFileFormat in class AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic AudioFileFormat[] getAudioFileFormats(File file) throws UnsupportedAudioFileException, IOException
AudioFileFormats for the given file.
Multiple objects are returned, if the file contains multiple streams, e.g. for
STEM files.file - fileAudioFileFormats for the given URLUnsupportedAudioFileException - if the audio is not supportedIOException - if an IO error occursgetAudioFileFormat(File)public AudioFileFormat[] getAudioFileFormats(URL url) throws UnsupportedAudioFileException, IOException
AudioFileFormats for the given file.
Multiple objects are returned, if the file contains multiple streams, e.g. for
Stem files.url - urlAudioFileFormats 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 AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException
getAudioInputStream in class AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException
getAudioInputStream in class AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException
getAudioInputStream in class AudioFileReaderUnsupportedAudioFileExceptionIOExceptionpublic 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.