2010-09-22 19:04:10 +02:00
|
|
|
package com.google.refine.exporters;
|
2010-03-04 08:02:03 +01:00
|
|
|
|
|
|
|
import java.io.IOException;
|
2010-03-17 23:30:16 +01:00
|
|
|
import java.io.OutputStream;
|
2010-03-04 08:02:03 +01:00
|
|
|
import java.io.Writer;
|
|
|
|
import java.util.Properties;
|
|
|
|
|
2010-09-22 19:04:10 +02:00
|
|
|
import com.google.refine.browsing.Engine;
|
|
|
|
import com.google.refine.model.Project;
|
2010-03-04 08:02:03 +01:00
|
|
|
|
|
|
|
public interface Exporter {
|
|
|
|
public String getContentType();
|
|
|
|
|
2010-03-17 23:30:16 +01:00
|
|
|
public boolean takeWriter();
|
|
|
|
|
|
|
|
public void export(Project project, Properties options, Engine engine, OutputStream outputStream) throws IOException;
|
|
|
|
|
2010-03-04 08:02:03 +01:00
|
|
|
public void export(Project project, Properties options, Engine engine, Writer writer) throws IOException;
|
|
|
|
}
|