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:
parent
bfc275de5f
commit
dbdbd906b7
@ -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) {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user