![David Huynh](/assets/img/avatar_default.png)
Added make_all option that makes dmg, exe, and cli. Added html and xls exporters. Made exported files named after project names rather than project IDs. git-svn-id: http://google-refine.googlecode.com/svn/trunk@314 7d457c2a-affb-35e4-300a-418c747d4874
20 lines
589 B
Java
20 lines
589 B
Java
package com.metaweb.gridworks.exporters;
|
|
|
|
import java.io.IOException;
|
|
import java.io.OutputStream;
|
|
import java.io.Writer;
|
|
import java.util.Properties;
|
|
|
|
import com.metaweb.gridworks.browsing.Engine;
|
|
import com.metaweb.gridworks.model.Project;
|
|
|
|
public interface Exporter {
|
|
public String getContentType();
|
|
|
|
public boolean takeWriter();
|
|
|
|
public void export(Project project, Properties options, Engine engine, OutputStream outputStream) throws IOException;
|
|
|
|
public void export(Project project, Properties options, Engine engine, Writer writer) throws IOException;
|
|
}
|