API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi.spi. MidiFileWriter View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.18, 05/11/17
Serial
Hierarchy
 Object
      MidiFileWriter
Implements
Subclasses
Description
publicabstract abstract class MidiFileWriter
  A MidiFileWriter supplies MIDI file-writing services.
See also:   
Constructors
public MidiFileWriter ()
Methods
Hide/Show inherited methods
publicabstract int getMidiFileTypes ()
  Obtains the set of MIDI file types for which file writing support is provided by this file writer.
publicabstract int getMidiFileTypes (Sequence sequence)
  Obtains the file types that this file writer can write from the sequence specified.
public boolean isFileTypeSupported (int fileType)
  Indicates whether file writing support for the specified MIDI file type is provided by this file writer.
public boolean isFileTypeSupported (int fileType, Sequence sequence)
  Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.
publicabstract int write (Sequence in, int fileType, File out) throws IOException
  Writes a stream of bytes representing a MIDI file of the file type indicated to the external file provided.
publicabstract int write (Sequence in, int fileType, OutputStream out) throws IOException
  Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar