BeanUtil

BeanUtil is a bean manipulation library that, in a nutshell, allows setting and reading bean properties. Several features make BeanUtil distinct:

  • fast (if not the fastest) bean manipulation utility

  • works with both attributes and properties

  • nested properties can be arrays, lists and maps

  • missing inner properties may be created

  • may work silently (no exception is thrown)

  • offers few populate methods

  • has strong-type conversion library

Flavors of BeanUtil

Before we jump into the details, let's quickly learn what types of BeanUtil exists. Implementations differ in the way how they threat private properties, if they throw exceptions and, finally, if they force the creation of missing inner properties (more details later). You can build your own implementation easily using BeanUtilBean, but these are already provided:

Let' jump into details!

Last updated