This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.sound.midi.spi
class 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}.
Method Summary |
abstract Soundbank |
Obtains a soundbank object from the File provided.
|
abstract Soundbank |
Obtains a soundbank object from the InputStream provided.
|
abstract Soundbank |
Obtains a soundbank object from the URL provided.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundbankReader
public SoundbankReader()
-
getSoundbank
public abstract Soundbank getSoundbank(File file)
throws InvalidMidiDataException,
IOException
-
Obtains a soundbank object from the
File
provided.
- Parameters:
file
- the File
representing the soundbank
- Returns:
- soundbank object
- Throws:
InvalidMidiDataException
- if the file does not point to
valid MIDI soundbank data recognized by this soundbank reader
IOException
- if an I/O error occurs
getSoundbank
public abstract Soundbank getSoundbank(InputStream stream)
throws InvalidMidiDataException,
IOException
-
Obtains a soundbank object from the
InputStream
provided.
- Parameters:
stream
- InputStream
representing the soundbank
- Returns:
- soundbank object
- Throws:
InvalidMidiDataException
- if the stream does not point to
valid MIDI soundbank data recognized by this soundbank reader
IOException
- if an I/O error occurs
getSoundbank
public abstract Soundbank getSoundbank(URL url)
throws InvalidMidiDataException,
IOException
-
Obtains a soundbank object from the URL provided.
- Parameters:
url
- URL representing the soundbank.
- Returns:
- soundbank object
- Throws:
InvalidMidiDataException
- if the URL does not point to
valid MIDI soundbank data recognized by this soundbank reader
IOException
- if an I/O error occurs
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.