package de.uvok.tuxguitar; import org.herac.tuxguitar.io.base.TGFileFormatDetector; import org.herac.tuxguitar.io.base.TGSongReader; import org.herac.tuxguitar.io.plugin.TGSongReaderPlugin; import org.herac.tuxguitar.util.TGContext; import org.herac.tuxguitar.util.plugin.TGPluginException; public class SongsterrReaderPlugin extends TGSongReaderPlugin { public static final String MODULE_ID = "songsterr-reader"; public SongsterrReaderPlugin() { super(true); } @Override public String getModuleId() { return MODULE_ID; } @Override protected TGFileFormatDetector createFileFormatDetector(TGContext arg0) throws TGPluginException { return new SongsterrFileFormatDetector(); } @Override protected TGSongReader createInputStream(TGContext arg0) throws TGPluginException { return new SongsterrInputStream(); } }