classutil 0.2
- Added new
MapToBeanmodule, which takes a Scala map of typeMap[String, Any]and converts it, on the fly, to a Java Bean. By default, it also recursively converts any nested maps of typeMap[String, Any]that it finds. The transformation results in an object that can only really be used via reflection; however, that fits fine with some APIs that want to receive Java Beans as parameters. For a complete description, see the appropriate section on the web site. - Updated to version 0.7.1 of Grizzled Scala.
- Updated to version 0.2.2 of Grizzled SLF4J.
- Removed unnecessary dependency on old version of Grizzled Scala in build file.
Now compiles under Scala 2.8.0.RC5. Now builds against RC3 and RC5 only.
The org.clapper.classutil (ClassUtil) library is a Scala package that provides various class location and class generation capabilities, including:
- Methods to locate and filter classes quickly, at runtime--more quickly, in fact, than can be done with the JVM's runtime reflection capabilities.
- Methods for converting Scala maps into Java Beans, on the fly--which can be useful when generating data for use with APIs (e.g., template APIs) that accept Java Beans, but not maps.
