Exporters need to implement either WriterExporter or StreamExporter.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1558 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-15 06:18:20 +00:00
parent 73042712ed
commit 7e9df21b70
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ import com.google.refine.model.Column;
import com.google.refine.model.Project; import com.google.refine.model.Project;
import com.google.refine.model.Row; import com.google.refine.model.Row;
public class HtmlTableExporter implements Exporter { public class HtmlTableExporter implements WriterExporter {
public String getContentType() { public String getContentType() {
return "text/html"; return "text/html";
} }

View File

@ -24,7 +24,7 @@ import com.google.refine.templating.Parser;
import com.google.refine.templating.Template; import com.google.refine.templating.Template;
import com.google.refine.util.ParsingUtilities; import com.google.refine.util.ParsingUtilities;
public class TemplatingExporter implements Exporter { public class TemplatingExporter implements WriterExporter {
public String getContentType() { public String getContentType() {
return "application/x-unknown"; return "application/x-unknown";
} }

View File

@ -21,7 +21,7 @@ import com.google.refine.model.Column;
import com.google.refine.model.Project; import com.google.refine.model.Project;
import com.google.refine.model.Row; import com.google.refine.model.Row;
public class XlsExporter implements Exporter { public class XlsExporter implements StreamExporter {
public String getContentType() { public String getContentType() {
return "application/xls"; return "application/xls";
} }