Skip to content

Instantly share code, notes, and snippets.

@bouzuya
Last active December 10, 2015 13:49
Show Gist options
  • Select an option

  • Save bouzuya/4443447 to your computer and use it in GitHub Desktop.

Select an option

Save bouzuya/4443447 to your computer and use it in GitHub Desktop.
; Clojure での java.util.Properties の取得
(let [u (clojure.java.io/resource "my.resource")]
(with-open [r (clojure.java.io/reader u)]
(doto
(java.util.Properties.)
(.load r))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment