org.herac.tuxguitar.io.midi
Class MidiSongImporter
java.lang.Object
org.herac.tuxguitar.io.midi.MidiSongImporter
public class MidiSongImporter
- extends java.lang.Object
Field Summary |
protected TGFactory |
factory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected TGFactory factory
MidiSongImporter
public MidiSongImporter()
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)