API for properties
- ()
Full namespace name:
clojure.contrib.properties
Overview
Deprecated since clojure-contrib version 1.2
Public Variables and Functions
as-properties
function
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
Usage: (get-system-property stringable)
(get-system-property stringable default)
Get a system property.
Source
read-properties
function
Usage: (read-properties file-able)
Read properties from file-able.
Source
set-system-properties
function
Usage: (set-system-properties settings)
Set some system properties. Nil clears a property.
Source
with-system-properties
macro
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
Usage: (write-properties m file-able)
(write-properties m file-able comments)
Write properties to file-able.
Source