Mercurial > lada > lada-server
changeset 326:86cda4c57092
New interfaces for data exporter and data creator.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 27 Aug 2013 09:44:59 +0200 |
parents | 30883ab746a5 |
children | 891a2133cf46 |
files | src/main/java/de/intevation/lada/data/exporter/Creator.java src/main/java/de/intevation/lada/data/exporter/Exporter.java |
diffstat | 2 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/data/exporter/Creator.java Tue Aug 27 09:44:59 2013 +0200 @@ -0,0 +1,8 @@ +package de.intevation.lada.data.exporter; + + + +public interface Creator +{ + public String create(String probeId); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/data/exporter/Exporter.java Tue Aug 27 09:44:59 2013 +0200 @@ -0,0 +1,14 @@ +package de.intevation.lada.data.exporter; + +import java.io.File; +import java.io.InputStream; +import java.util.List; +import java.util.Map; + +import de.intevation.lada.auth.AuthenticationResponse; + + +public interface Exporter +{ + public InputStream export(String probe, AuthenticationResponse auth); +}