org.tritonus.share.midi
Class TMidiFileFormat

java.lang.Object
  extended byjavax.sound.midi.MidiFileFormat
      extended byorg.tritonus.share.midi.TMidiFileFormat

public class TMidiFileFormat
extends MidiFileFormat

A MidiFileFormat that has information about the number of tracks. This class is used by org.tritonus.midi.file.StandardMidiFileReader. Its purpose is to carry the number of tracks from getMidiFileFormat() to getSequence().


Field Summary
 
Fields inherited from class javax.sound.midi.MidiFileFormat
byteLength, divisionType, microsecondLength, resolution, type, UNKNOWN_LENGTH
 
Constructor Summary
TMidiFileFormat(int nType, float fDivisionType, int nResolution, int nByteLength, long lMicrosecondLength, int nTrackCount)
           
 
Method Summary
 int getTrackCount()
           
 
Methods inherited from class javax.sound.midi.MidiFileFormat
getByteLength, getDivisionType, getMicrosecondLength, getProperty, getResolution, getType, properties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TMidiFileFormat

public TMidiFileFormat(int nType,
                       float fDivisionType,
                       int nResolution,
                       int nByteLength,
                       long lMicrosecondLength,
                       int nTrackCount)
Method Detail

getTrackCount

public int getTrackCount()