Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/exports/Export.java @ 335:e964a3d8f7bc
Some Refactoring work done.
Moved Transition to State
gnv-artifacts/trunk@401 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 08 Dec 2009 08:39:03 +0000 |
parents | 3ea030aafe65 |
children | a0e63136954e |
comparison
equal
deleted
inserted
replaced
334:e37930705daa | 335:e964a3d8f7bc |
---|---|
5 import java.io.OutputStream; | 5 import java.io.OutputStream; |
6 import java.io.IOException; | 6 import java.io.IOException; |
7 import java.io.UnsupportedEncodingException; | 7 import java.io.UnsupportedEncodingException; |
8 | 8 |
9 import de.intevation.gnv.geobackend.base.Result; | 9 import de.intevation.gnv.geobackend.base.Result; |
10 import de.intevation.gnv.transition.exception.TransitionException; | 10 import de.intevation.gnv.state.exception.StateException; |
11 | 11 |
12 /** | 12 /** |
13 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | 13 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) |
14 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) | 14 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) |
15 */ | 15 */ |
25 String [] getHeader(); | 25 String [] getHeader(); |
26 } | 26 } |
27 | 27 |
28 public interface DataCollector { | 28 public interface DataCollector { |
29 String[] getData(Result result) | 29 String[] getData(Result result) |
30 throws TransitionException; | 30 throws StateException; |
31 } | 31 } |
32 | 32 |
33 public void create( | 33 public void create( |
34 Profile profile, | 34 Profile profile, |
35 OutputStream outputStream, | 35 OutputStream outputStream, |
36 Collection result | 36 Collection result |
37 ) | 37 ) |
38 throws IOException, UnsupportedEncodingException, TransitionException; | 38 throws IOException, UnsupportedEncodingException, StateException; |
39 | 39 |
40 } | 40 } |