1.2.0 permalink Arrow_down_16x16

set-system-properties

clojure.contrib.properties

  • (set-system-properties settings)
Set some system properties. Nil clears a property.

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

(defn set-system-properties
  "Set some system properties. Nil clears a property."
  [settings]
  (doseq [[name val] settings]
    (if val
      (System/setProperty (as-str name) (as-str val))
      (System/clearProperty (as-str name)))))
Vars in clojure.contrib.properties/set-system-properties: defn doseq name val
Used in 0 other vars

Comments top

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