示例#1
0
 /** Writes the view to the specified uri. */
 @Override
 public void write(URI f, URIChooser chooser) throws IOException {
   Drawing drawing = view.getDrawing();
   OutputFormat outputFormat = drawing.getOutputFormats().get(0);
   outputFormat.write(f, drawing);
 }