org.herac.tuxguitar.io.midi
Class MidiSongImporter

java.lang.Object
  extended by org.herac.tuxguitar.io.midi.MidiSongImporter

public class MidiSongImporter
extends java.lang.Object


Field Summary
protected  TGFactory factory
           
 
Constructor Summary
MidiSongImporter()
           
 
Method Summary
 boolean configure(boolean setDefaults)
           
 TGFileFormat getFileFormat()
           
 java.lang.String getImportName()
           
 org.herac.tuxguitar.io.midi.MidiSongImporter.TempChannel getTempChannel(int channel)
           
protected  org.herac.tuxguitar.io.midi.MidiSongImporter.TrackTuningHelper getTrackTuningHelper(int track)
           
 TGSong importSong(TGFactory factory, java.io.InputStream stream)
           
protected  TGDuration newDuration(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected TGFactory factory
Constructor Detail

MidiSongImporter

public MidiSongImporter()
Method Detail

getFileFormat

public TGFileFormat getFileFormat()

getImportName

public java.lang.String getImportName()

configure

public boolean configure(boolean setDefaults)

importSong

public TGSong importSong(TGFactory factory,
                         java.io.InputStream stream)
                  throws TGFileFormatException
Throws:
TGFileFormatException

getTrackTuningHelper

protected org.herac.tuxguitar.io.midi.MidiSongImporter.TrackTuningHelper getTrackTuningHelper(int track)

getTempChannel

public org.herac.tuxguitar.io.midi.MidiSongImporter.TempChannel getTempChannel(int channel)

newDuration

protected TGDuration newDuration(int value)