Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/data/exporter/LAFExporter.java @ 366:567ce7697fc7 0.5
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 10 Sep 2013 15:55:54 +0200 |
parents | 1feba681ffee |
children | f3d0894d9bfc |
comparison
equal
deleted
inserted
replaced
365:fab80595ed55 | 366:567ce7697fc7 |
---|---|
12 import javax.inject.Named; | 12 import javax.inject.Named; |
13 | 13 |
14 import de.intevation.lada.auth.AuthenticationResponse; | 14 import de.intevation.lada.auth.AuthenticationResponse; |
15 import de.intevation.lada.model.LProbe; | 15 import de.intevation.lada.model.LProbe; |
16 | 16 |
17 /** | |
18 * The LAF exporter implements {@link Exporter} to produce a LAF file. | |
19 * | |
20 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
21 */ | |
17 @Named("lafexporter") | 22 @Named("lafexporter") |
18 public class LAFExporter | 23 public class LAFExporter |
19 implements Exporter | 24 implements Exporter |
20 { | 25 { |
21 | 26 |
22 @Inject | 27 @Inject |
23 @Named("lafcreator") | 28 @Named("lafcreator") |
24 private Creator creator; | 29 private Creator creator; |
25 | 30 |
31 /** | |
32 * Export the {@link LProbe} objects. | |
33 * | |
34 * @param proben List of probe ids. | |
35 * @param auth The authentication information. | |
36 * @return InputStream with the LAF data. | |
37 */ | |
26 @Override | 38 @Override |
27 public InputStream export( | 39 public InputStream export( |
28 List<String> proben, | 40 List<String> proben, |
29 AuthenticationResponse auth | 41 AuthenticationResponse auth |
30 ) { | 42 ) { |