JSurfer earlier today noted that a new release of Jodd out.  Jodd is a general purpose Java library.  If you’re thinking about reinventing the wheel, it’s probably already been done in Jodd.  Browse through the javadocs for an idea of what you can do with it.  Jodd is distributed under a license that looks like a modified BSD one, so it should be suitable for incorporation to projects with lots of different license types.