Search in sources :

Example 6 with JseOutputStream

use of com.xenoage.utils.jse.io.JseOutputStream in project Zong by Xenoage.

the class PngScoreDocFileOutput method write.

@Override
public void write(ScoreDoc document, int fileIndex, OutputStream stream) throws IOException {
    Layout layout = document.getLayout();
    PngPrinter.print(layout, fileIndex, new JseOutputStream(stream));
}
Also used : Layout(com.xenoage.zong.layout.Layout) JseOutputStream(com.xenoage.utils.jse.io.JseOutputStream)

Aggregations

JseOutputStream (com.xenoage.utils.jse.io.JseOutputStream)6 File (java.io.File)3 OutputStream (com.xenoage.utils.io.OutputStream)2 IOException (java.io.IOException)2 Sequence (javax.sound.midi.Sequence)2 JseInputStream (com.xenoage.utils.jse.io.JseInputStream)1 JseMidiSequenceWriter (com.xenoage.zong.desktop.io.midi.out.JseMidiSequenceWriter)1 MidiScoreDocFileOutput (com.xenoage.zong.desktop.io.midi.out.MidiScoreDocFileOutput)1 MusicXmlScoreDocFileInput (com.xenoage.zong.desktop.io.musicxml.in.MusicXmlScoreDocFileInput)1 PdfScoreDocFileOutput (com.xenoage.zong.desktop.io.pdf.out.PdfScoreDocFileOutput)1 ScoreDoc (com.xenoage.zong.documents.ScoreDoc)1 MidiSequence (com.xenoage.zong.io.midi.out.MidiSequence)1 Layout (com.xenoage.zong.layout.Layout)1 BufferedReader (java.io.BufferedReader)1 InputStreamReader (java.io.InputStreamReader)1 List (java.util.List)1