Issue 547 - Decompress kmz files

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2453 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-03-08 00:29:25 +00:00
parent bfc275de5f
commit dbdbd906b7

View File

@ -520,6 +520,8 @@ public class ImportingUtilities {
return new TarInputStream(new FileInputStream(file)); return new TarInputStream(new FileInputStream(file));
} else if (fileName.endsWith(".zip")) { } else if (fileName.endsWith(".zip")) {
return new ZipInputStream(new FileInputStream(file)); return new ZipInputStream(new FileInputStream(file));
} else if (fileName.endsWith(".kmz")) {
return new ZipInputStream(new FileInputStream(file));
} }
} catch (IOException e) { } catch (IOException e) {
} }