Coercions

clojure.java.io

Coerce between various 'resource-namish' things.

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/java/io.clj:34 top

(defprotocol ^{:added "1.2"} Coercions
  "Coerce between various 'resource-namish' things."
  (^{:tag java.io.File, :added "1.2"} as-file [x] "Coerce argument to a file.")
  (^{:tag java.net.URL, :added "1.2"} as-url [x] "Coerce argument to a URL."))
Vars in clojure.java.io/Coercions:
Used in 0 other vars

Comments top

No comments for Coercions. Log in to add a comment.