utils4j

A must have utility package for java

Build Status Coverage Status Maven Central JavaDoc License Stack Overflow

Utils4J is a very intellegent, flexible and generic library, built to solve the developer's day to day problems with rewriting the same redundency code in all the projects. For more details, see our [API docs][javadoc] for the latest release.

Getting a property (could be environment, properties files or Spring Context)

Utils4J provides a very flexible and convenient interface to retrive the properties from any source, the beauty is no need to define the source to get the property from, as given below:

final Object value = VarraProperties.getProperty("env"+ StringUtils.DOT + "property" + StringUtils.DOT + "name");
final String value = VarraProperties.getPropertyAsGeneric("file"+ StringUtils.DOT + "property" + StringUtils.DOT + "name");
final Student student = VarraProperties.getWrapperProperty("spring"+ StringUtils.DOT + "student", Student.class);

Features at a Glance

Utils4J provides flexible construction to create a property repository with a combination of the following features:

You can contact at anytime by raising a public issue if you find any issue or can contact to my mail id for any help.