سؤال

In the old monolithic clojure-contrib there were java-utils and properties namespaces with a few handy functions, like read-properties which parsed a Java properties file into a Clojure map.

Is there an equivalent of these namespaces in the new contrib?

I know that it is easy to write (i.e. copy-paste) the function and I'll probably do it anyway, but if it's already somewhere I'd rather not duplicate code.

هل كانت مفيدة؟

المحلول

The java_utils library never made it, but check out propertea. I think it'll do what you want.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top