• (jar-file? file)
Returns true if file is a normal file with a .jar or .JAR extension.

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:22 top

(defn jar-file?
  "Returns true if file is a normal file with a .jar or .JAR extension."
  [^File file]
  (and (.isFile file)
       (or (.endsWith (.getName file) ".jar")
           (.endsWith (.getName file) ".JAR"))))
Vars in clojure.contrib.jar/jar-file?: and defn or
Used in 0 other vars

Comments top

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