Does anyone know how to open compressed zip file in clojure?
@niten.sagar How about the command jar xvf the-zip-file.zip
? 😛
On a serious note, you can use the ZipInputStream
via Java interop - http://stackoverflow.com/a/10188601/188505
thanks @kumarshantanu
@kumarshantanu i have try using ZipInputStream as explained in stackoverflow article but its giving NullPointerException i know there is a multiple csv files compress in a zip folder my zip folder looks something like this 2017-04-09-11-00-events.csv.zip
@niten.sagar You should probably print out the ZIP entry filenames to ascertain that your program is encountering the filenames you know exist in the ZIP file
the stack trace in NullPointerException
will tell you the exact point where it encountered an unexpected nil