FileDocCategorySizeDatePackage
SoundbankReader.javaAPI DocJava SE 5 API2224Fri Aug 26 14:57:50 BST 2005javax.sound.midi.spi

SoundbankReader

public abstract class SoundbankReader extends Object
A SoundbankReader supplies soundbank file-reading services. Concrete subclasses of SoundbankReader parse a given soundbank file, producing a {@link javax.sound.midi.Soundbank} object that can be loaded into a {@link javax.sound.midi.Synthesizer}.
since
1.3
version
1.18 03/12/19
author
Kara Kytle

Fields Summary
Constructors Summary
Methods Summary
public abstract javax.sound.midi.SoundbankgetSoundbank(java.net.URL url)
Obtains a soundbank object from the URL provided.

param
url URL representing the soundbank.
return
soundbank object
throws
InvalidMidiDataException if the URL does not point to valid MIDI soundbank data recognized by this soundbank reader
throws
IOException if an I/O error occurs

public abstract javax.sound.midi.SoundbankgetSoundbank(java.io.InputStream stream)
Obtains a soundbank object from the InputStream provided.

param
stream InputStream representing the soundbank
return
soundbank object
throws
InvalidMidiDataException if the stream does not point to valid MIDI soundbank data recognized by this soundbank reader
throws
IOException if an I/O error occurs

public abstract javax.sound.midi.SoundbankgetSoundbank(java.io.File file)
Obtains a soundbank object from the File provided.

param
file the File representing the soundbank
return
soundbank object
throws
InvalidMidiDataException if the file does not point to valid MIDI soundbank data recognized by this soundbank reader
throws
IOException if an I/O error occurs