From 7e9df21b70b5b58d6ab8b7942aeda5130bd57c0a Mon Sep 17 00:00:00 2001 From: David Huynh Date: Fri, 15 Oct 2010 06:18:20 +0000 Subject: [PATCH] Exporters need to implement either WriterExporter or StreamExporter. git-svn-id: http://google-refine.googlecode.com/svn/trunk@1558 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/exporters/HtmlTableExporter.java | 2 +- main/src/com/google/refine/exporters/TemplatingExporter.java | 2 +- main/src/com/google/refine/exporters/XlsExporter.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/com/google/refine/exporters/HtmlTableExporter.java b/main/src/com/google/refine/exporters/HtmlTableExporter.java index f44929386..1f5e9e71d 100644 --- a/main/src/com/google/refine/exporters/HtmlTableExporter.java +++ b/main/src/com/google/refine/exporters/HtmlTableExporter.java @@ -14,7 +14,7 @@ import com.google.refine.model.Column; import com.google.refine.model.Project; import com.google.refine.model.Row; -public class HtmlTableExporter implements Exporter { +public class HtmlTableExporter implements WriterExporter { public String getContentType() { return "text/html"; } diff --git a/main/src/com/google/refine/exporters/TemplatingExporter.java b/main/src/com/google/refine/exporters/TemplatingExporter.java index b5c72436d..69688388e 100644 --- a/main/src/com/google/refine/exporters/TemplatingExporter.java +++ b/main/src/com/google/refine/exporters/TemplatingExporter.java @@ -24,7 +24,7 @@ import com.google.refine.templating.Parser; import com.google.refine.templating.Template; import com.google.refine.util.ParsingUtilities; -public class TemplatingExporter implements Exporter { +public class TemplatingExporter implements WriterExporter { public String getContentType() { return "application/x-unknown"; } diff --git a/main/src/com/google/refine/exporters/XlsExporter.java b/main/src/com/google/refine/exporters/XlsExporter.java index f8a40780c..3af9570b0 100644 --- a/main/src/com/google/refine/exporters/XlsExporter.java +++ b/main/src/com/google/refine/exporters/XlsExporter.java @@ -21,7 +21,7 @@ import com.google.refine.model.Column; import com.google.refine.model.Project; import com.google.refine.model.Row; -public class XlsExporter implements Exporter { +public class XlsExporter implements StreamExporter { public String getContentType() { return "application/xls"; }