Cytoscape 2.8.0 API

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
clone, equals, finalize, 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

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.