API for properties
- ()
clojure-contrib is now deprecated
clojure-contrib is no longer being developed or maintained.
Rather than a single, monolithic, contributions library, Clojure now has
a set of separate libraries for each unit of functionality. The libraries
are in the Clojure GitHub organization at
https://github.com/clojure.
API documentation of the libraries can be found at
https://clojure.github.io.
If you're looking for a specific function or namespace from the old
clojure-contrib, see
"Where Did Clojure.Contrib Go".
Full namespace name:
clojure.contrib.properties
Overview
Deprecated since clojure-contrib version 1.2
Public Variables and Functions
as-properties
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (as-properties m)
Convert any seq of pairs to a java.utils.Properties instance.
Uses as-str to convert both keys and values into strings.
Source
get-system-property
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (get-system-property stringable)
(get-system-property stringable default)
Get a system property.
Source
read-properties
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (read-properties file-able)
Read properties from file-able.
Source
set-system-properties
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (set-system-properties settings)
Set some system properties. Nil clears a property.
Source
with-system-properties
macro
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (with-system-properties settings & body)
setting => property-name value
Sets the system properties to the supplied values, executes the body, and
sets the properties back to their original values. Values of nil are
translated to a clearing of the property.
Source
write-properties
function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (write-properties m file-able)
(write-properties m file-able comments)
Write properties to file-able.
Source