1.2.0 permalink Arrow_down_16x16

read-properties

clojure.contrib.properties

  • (read-properties file-able)
Read properties from file-able.

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/properties.clj:63 top

(defn read-properties
  "Read properties from file-able."
  [file-able]
  (with-open [f (java.io.FileInputStream. (file file-able))]
    (doto (Properties.)
      (.load f))))
Vars in clojure.contrib.properties/read-properties: defn doto with-open
Used in 0 other vars

Comments top

No comments for read-properties. Log in to add a comment.