javax.sound.midi.spi
public abstract class SoundbankReader extends Object
Since: 1.3
Method Summary | |
---|---|
abstract Soundbank | getSoundbank(URL url)
Get a Soundbank from the given URL.
|
abstract Soundbank | getSoundbank(InputStream stream)
Get a Soundbank from the given InputStream.
|
abstract Soundbank | getSoundbank(File file)
Get a Soundbank from the given File.
|
Parameters: url from which to read the Soundbank
Returns: the Soundbank object
Throws: InvalidMidiDataException if the data provided by url cannot be recognized IOException if the data provided by url cannot be read
Parameters: stream from which to read the Soundbank
Returns: the Soundbank object
Throws: InvalidMidiDataException if the data provided by InputStream cannot be recognized IOException if the data provided by InputStream cannot be read
Parameters: file from which to read the Soundbank
Returns: the Soundbank object
Throws: InvalidMidiDataException if the data provided by File cannot be recognized IOException if the data provided by File cannot be read