info.aduna.clustermap.export
Class PngImageExporter

java.lang.Object
  extended by info.aduna.clustermap.export.PngImageExporter

public class PngImageExporter
extends Object

PngImageExporter is capable of exporting a PNG image of the current contents of a ClusterMap.


Constructor Summary
PngImageExporter(ClusterMap map)
           
 
Method Summary
 void export(File file)
          Saves the image containing the graph in PNG format to the specified File.
 void export(OutputStream stream)
          Saves the image containing the Graph to the specified OutputStream in PNG format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngImageExporter

public PngImageExporter(ClusterMap map)
Method Detail

export

public void export(File file)
            throws IOException
Saves the image containing the graph in PNG format to the specified File.

Throws:
IOException

export

public void export(OutputStream stream)
            throws IOException
Saves the image containing the Graph to the specified OutputStream in PNG format.

Throws:
IOException


Copyright © 1997-2008 Aduna. All Rights Reserved.