What is Propertied
Propertied is a tiny Clojure library that makes working with Java property lists from Clojure a bit nicer.
It is very small in scope: convert java.util.Properties
to and from an immutable
map, load and store them to and from .properties
files.
Supported Clojure Versions
Propertied targets Clojure 1.4+, tested against 3 Clojure versions x 2 JDKs on travis-ci.org, and is released under the Eclipse Public License.
Documentation and Examples
Propertied makes it easy to convert property lists (java.util.Properties
) into Clojure
maps and vice versa. Thus working with property lists is generally as straightforward as
working with maps.
clojurewerkz.propertied.properties/load-from
is a polymorphic function that
instantiates a property list from an input (e.g. a map).
clojurewerkz.propertied.properties/properties->map
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Learn more in the documentation.
Community
To subscribe for announcements of releases, important changes and so on, please follow @ClojureWerkz on Twitter.
License
The source is available on GitHub. We also use GitHub to track issues.
The ClojureWerkz Team