API for properties - clojure-contrib next (in development)


Usage:
(ns your-namespace
  (:require 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.


get-system-property

function
Usage: (get-system-property stringable)
       (get-system-property stringable default)
Get a system property.


read-properties

function
Usage: (read-properties file-able)
Read properties from file-able.


set-system-properties

function
Usage: (set-system-properties settings)
Set some system properties. Nil clears a property.


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.


write-properties

function
Usage: (write-properties m file-able)
       (write-properties m file-able comments)
Write properties to file-able.
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.