Returns a sequence of Strings naming the non-directory entries in
the JAR file.
(defn filenames-in-jar
"Returns a sequence of Strings naming the non-directory entries in
the JAR file."
[^JarFile jar-file]
(map #(.getName %)
(filter #(not (.isDirectory %))
(enumeration-seq (.entries jar-file)))))
Comments top
No comments for filenames-in-jar. Log in to add a comment.