Rename OO/ODS importer with more generic name

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2325 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2011-10-11 21:01:45 +00:00
parent ee0fb9033e
commit 3bd84088da
2 changed files with 3 additions and 3 deletions

View File

@ -64,10 +64,10 @@ import com.google.refine.model.Recon.Judgment;
import com.google.refine.util.JSONUtilities;
public class OpenOfficeImporter extends TabularImportingParserBase {
public class OdsImporter extends TabularImportingParserBase {
final static Logger logger = LoggerFactory.getLogger("open office");
public OpenOfficeImporter() {
public OdsImporter() {
super(true);
}

View File

@ -198,7 +198,7 @@ function registerImporting() {
IM.registerFormat("text/xml", "XML files", "XmlParserUI", new Packages.com.google.refine.importers.XmlImporter());
IM.registerFormat("text/xml/xlsx", "Excel (.xlsx) files", "ExcelParserUI", new Packages.com.google.refine.importers.ExcelImporter());
// TODO: Can we get away with just reusing Excel importer UI?
IM.registerFormat("text/xml/ods", "Open Document Format spreadsheets (.ods)", "ExcelParserUI", new Packages.com.google.refine.importers.OpenOfficeImporter());
IM.registerFormat("text/xml/ods", "Open Document Format spreadsheets (.ods)", "ExcelParserUI", new Packages.com.google.refine.importers.OdsImporter());
IM.registerFormat("text/xml/rdf", "RDF/XML files", "RdfParserUI", new Packages.com.google.refine.importers.RdfTripleImporter());
IM.registerFormat("text/json", "JSON files", "JsonParserUI", new Packages.com.google.refine.importers.JsonImporter());
IM.registerFormat("text/marc", "MARC files");