package org.herac.tuxguitar.community.io; import org.herac.tuxguitar.io.base.TGFileFormatException; import org.herac.tuxguitar.io.base.TGRawExporter; import org.herac.tuxguitar.song.models.TGSong; public class TGShareSongExporter implements TGRawExporter { public TGShareSongExporter() { super(); } public void exportSong(TGSong srcSong) throws TGFileFormatException { final TGSong song = srcSong.clone(); new Thread(new Runnable() { public void run() { new TGShareSong().process(song); } }).start(); } public String getExportName() { return ("Share with the Community"); } }