Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java @ 392:72177020db92
Improved the transition model and added classes to enable the WINFO artifact to create computed discharge curves - NOTE: each of the new classes is just a stub.
flys-artifacts/trunk@1817 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 04 May 2011 07:48:39 +0000 |
parents | |
children | b9175ddea49b |
comparison
equal
deleted
inserted
replaced
391:5d6988836f01 | 392:72177020db92 |
---|---|
1 package de.intevation.flys.exports; | |
2 | |
3 import java.io.OutputStream; | |
4 import java.util.ArrayList; | |
5 import java.util.List; | |
6 | |
7 import org.w3c.dom.Document; | |
8 | |
9 import org.apache.log4j.Logger; | |
10 | |
11 import au.com.bytecode.opencsv.CSVWriter; | |
12 | |
13 import de.intevation.artifacts.Artifact; | |
14 import de.intevation.artifacts.CallContext; | |
15 | |
16 import de.intevation.flys.artifacts.WINFOArtifact; | |
17 | |
18 | |
19 /** | |
20 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
21 */ | |
22 public class ComputedDischargeCurveExporter extends AbstractExporter { | |
23 | |
24 /** The logger used in this exporter.*/ | |
25 private static Logger logger = | |
26 Logger.getLogger(ComputedDischargeCurveExporter.class); | |
27 | |
28 | |
29 public void init(Document request, OutputStream out, CallContext context) { | |
30 logger.debug("ComputedDischargeCurveExporter.init"); | |
31 | |
32 super.init(request, out, context); | |
33 } | |
34 | |
35 | |
36 protected void addData(Artifact artifact) { | |
37 // TODO FILL ME | |
38 } | |
39 | |
40 | |
41 protected void writeCSVData(CSVWriter writer) { | |
42 logger.info("ComputedDischargeCurveExporter.writeData"); | |
43 | |
44 // TODO FILL ME | |
45 } | |
46 } | |
47 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |