diff gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java @ 303:9ba2cf8cad8d

Export format of charts is related to mime-type. gnv-artifacts/trunk@358 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Nov 2009 15:45:25 +0000
parents 3ea030aafe65
children 45625b5cd6d4
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java	Fri Nov 20 14:46:37 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java	Fri Nov 20 15:45:25 2009 +0000
@@ -31,7 +31,7 @@
 
     public abstract JFreeChart generateChart();
 
-    public BufferedImage exportPNG(int width, int height) {
+    public BufferedImage exportImage(int width, int height) {
         log.info("export chart as png");
 
         return chart.createBufferedImage(

http://dive4elements.wald.intevation.org