info.aduna.clustermap.export
Class PngImageExporter
java.lang.Object
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.
|
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 |
PngImageExporter
public PngImageExporter(ClusterMap map)
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.