1
package org.herac.tuxguitar.io.musicxml;
3
import java.io.OutputStream;
5
import org.herac.tuxguitar.io.base.TGFileFormat;
6
import org.herac.tuxguitar.io.base.TGFileFormatException;
7
import org.herac.tuxguitar.io.base.TGSongExporter;
8
import org.herac.tuxguitar.song.models.TGSong;
10
public class MusicXMLSongExporter implements TGSongExporter{
12
public String getExportName() {
16
public TGFileFormat getFileFormat() {
17
return new TGFileFormat("MusicXML","*.xml");
20
public boolean configure(boolean setDefaults) {
24
public void exportSong(OutputStream stream, TGSong song) throws TGFileFormatException {
25
new MusicXMLWriter(stream).writeSong(song);
b'\\ No newline at end of file'