Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.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 | d322da01d862 |
children | 41567bf1e131 |
comparison
equal
deleted
inserted
replaced
7074:a2abd87c0d3b | 7077:0a337f0005c2 |
---|---|
143 protected List<WQKms[]> data; | 143 protected List<WQKms[]> data; |
144 | 144 |
145 /** The storage that contains official fixings if available.*/ | 145 /** The storage that contains official fixings if available.*/ |
146 protected List<WQKms> officalFixings; | 146 protected List<WQKms> officalFixings; |
147 | 147 |
148 public void init(Document request, OutputStream out, CallContext context) { | 148 public WaterlevelExporter() { |
149 logger.debug("WaterlevelExporter.init"); | |
150 | |
151 super.init(request, out, context); | |
152 | |
153 data = new ArrayList<WQKms[]>(); | 149 data = new ArrayList<WQKms[]>(); |
154 } | 150 } |
155 | |
156 | 151 |
157 @Override | 152 @Override |
158 public void generate() | 153 public void generate() |
159 throws IOException | 154 throws IOException |
160 { | 155 { |