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:
parent
73042712ed
commit
7e9df21b70
@ -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";
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user