blob: 5f347c03b30024c41a9e6abf5e25b5ffc49f9df0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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();
}
}
|