| java.lang.Object | ||
| ↳ | javax.sound.midi.spi.MidiFileWriter | |
| ↳ | com.sun.media.sound.StandardMidiFileWriter | |
MIDI file writer.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
new
| |||||||||||
Obtains the file types that this provider can write from the
sequence specified.
| |||||||||||
Indicates whether file writing support for the specified MIDI file type
is provided by this file writer.
| |||||||||||
Writes a stream of bytes representing a MIDI file of the file type
indicated to the output stream provided.
| |||||||||||
Writes a stream of bytes representing a MIDI file of the file type
indicated to the external file provided.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.sound.midi.spi.MidiFileWriter
| |||||||||||
From class
java.lang.Object
| |||||||||||
new
Obtains the file types that this provider can write from the sequence specified.
| sequence | the sequence for which midi file type support is queried |
|---|
Indicates whether file writing support for the specified MIDI file type is provided by this file writer.
| type | the file type for which write capabilities are queried |
|---|
true if the file type is supported,
otherwise false
Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.
| in | sequence containing MIDI data to be written to the file |
|---|---|
| type | type of the file to be written to the output stream |
| out | stream to which the file data should be written |
| IOException |
|---|
Writes a stream of bytes representing a MIDI file of the file type indicated to the external file provided.
| in | sequence containing MIDI data to be written to the external file |
|---|---|
| type | type of the file to be written to the external file |
| out | external file to which the file data should be written |
| IOException |
|---|