public abstract class SoundbankReader extends Object
| Constructor and Description |
|---|
SoundbankReader() |
| Modifier and Type | Method and Description |
|---|---|
abstract Soundbank |
getSoundbank(File file)
Get a Soundbank from the given File.
|
abstract Soundbank |
getSoundbank(InputStream stream)
Get a Soundbank from the given InputStream.
|
abstract Soundbank |
getSoundbank(URL url)
Get a Soundbank from the given URL.
|
public SoundbankReader()
public abstract Soundbank getSoundbank(URL url) throws InvalidMidiDataException, IOException
url - from which to read the SoundbankInvalidMidiDataException - if the data provided by url cannot be recognizedIOException - if the data provided by url cannot be readpublic abstract Soundbank getSoundbank(InputStream stream) throws InvalidMidiDataException, IOException
stream - from which to read the SoundbankInvalidMidiDataException - if the data provided by InputStream cannot be recognizedIOException - if the data provided by InputStream cannot be readpublic abstract Soundbank getSoundbank(File file) throws InvalidMidiDataException, IOException
file - from which to read the SoundbankInvalidMidiDataException - if the data provided by File cannot be recognizedIOException - if the data provided by File cannot be read