The utility classes such as BeanUtils, ConvertUtils and PropertyUtils can be accessed through utility objects and shares the same caches and registered converters. You can instantiate corresponding class with same functionality for each static utility class.
Static utility classes are the classes having only static methods performing some operations on the objects that are passed as parameters. Typically such classes have no state.
The following table shows the Static Utility Classes and Utility Objects:
S.N. | Static Utility Class | Utility Object |
---|---|---|
1 | BeanUtils | BeanUtilsBean |
2 | ConvertUtils | ConvertUtilsBean |
3 | PropertyUtils | PropertyUtilsBean |