Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/exports/Export.java @ 592:3c939c95c477
Removed accidental checkin of Test-Shapefiles
gnv-artifacts/trunk@647 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 29 Jan 2010 13:28:28 +0000 |
parents | e964a3d8f7bc |
children | a0e63136954e |
line wrap: on
line source
package de.intevation.gnv.exports; import java.util.Collection; import java.io.OutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import de.intevation.gnv.geobackend.base.Result; import de.intevation.gnv.state.exception.StateException; /** * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) */ public interface Export { public interface Profile { String toString(int column, String value); char getSeparator(); char getEscapeCharacter(); char getQuoteCharacter(); String getType(); String getEncoding(); String [] getHeader(); } public interface DataCollector { String[] getData(Result result) throws StateException; } public void create( Profile profile, OutputStream outputStream, Collection result ) throws IOException, UnsupportedEncodingException, StateException; }