Hi, I want to read the contents of one of the files in a jar file. Here's the documentation - http://download.oracle.com/javase/6/docs/api/java/util/jar/JarFile.html
Now, the doc. of entries method specifies it returns an Enumeration<JarEntry>, whereas - (map #(class %) (enumeration-seq (.entries "some-jar-file"))) shows all are - java.util.jar.JarFile$JarFileEntry For this reason, the getInputStream method which expects a ZipEntry (a JarEntry could be passed to ZipEntry as the former derives from the latter) doesn't work on the above type. Is this an issue with enumeration-seq, or the way I am using it or is the doc. for JarFile is not correct or something else? Please let me know. Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en