Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/WDifferencesExporter.java @ 7077:0a337f0005c2 generator-refactoring
Extended init() of OutGenerator to take name of the out to serve.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 20 Sep 2013 16:34:09 +0200 |
parents | af13ceeba52a |
children | 41567bf1e131 |
comparison
equal
deleted
inserted
replaced
7074:a2abd87c0d3b | 7077:0a337f0005c2 |
---|---|
66 public static final String JASPER_FILE = "export.wdifferences.pdf.file"; | 66 public static final String JASPER_FILE = "export.wdifferences.pdf.file"; |
67 | 67 |
68 /** The storage that contains all WKms objects for the different facets. */ | 68 /** The storage that contains all WKms objects for the different facets. */ |
69 protected List<WKms[]> data; | 69 protected List<WKms[]> data; |
70 | 70 |
71 | 71 public WDifferencesExporter() { |
72 public void init(Document request, OutputStream out, CallContext context) { | 72 data = new ArrayList<WKms[]>(); |
73 logger.debug("WDifferencesExporter.init"); | 73 } |
74 | |
75 super.init(request, out, context); | |
76 | |
77 this.data = new ArrayList<WKms[]>(); | |
78 } | |
79 | |
80 | 74 |
81 /** | 75 /** |
82 * Genereate data in csv format. | 76 * Genereate data in csv format. |
83 */ | 77 */ |
84 @Override | 78 @Override |