Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.util.export
Class BitmapExporter

java.lang.Object
  extended by cytoscape.util.export.BitmapExporter
All Implemented Interfaces:
Exporter

public class BitmapExporter
extends Object
implements Exporter

Bitmap exporter by the ImageIO class.

Author:
Samad Lotia

Constructor Summary
BitmapExporter(String extension, double scale)
           
 
Method Summary
 void export(CyNetworkView view, FileOutputStream stream)
          Export a view as graphics to a stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitmapExporter

public BitmapExporter(String extension,
                      double scale)
Method Detail

export

public void export(CyNetworkView view,
                   FileOutputStream stream)
            throws IOException
Description copied from interface: Exporter
Export a view as graphics to a stream.

Specified by:
export in interface Exporter
Parameters:
view - The view to export
stream - The stream to write the graphics to; the stream is not closed when exporting is finished.
Throws:
IOException

www.cytoscape.org