1.2.0 permalink Arrow_down_16x16

filenames-in-jar

clojure.contrib.jar

  • (filenames-in-jar jar-file)
Returns a sequence of Strings naming the non-directory entries in
the JAR file.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/jar.clj:29 top

(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)))))
Vars in clojure.contrib.jar/filenames-in-jar: defn enumeration-seq filter map not
Used in 0 other vars

Comments top

No comments for filenames-in-jar. Log in to add a comment.