2016/02/07 - Apache Onami has been retired.

For more information, please explore the Attic.

Extend Apache Onami Converters

Users that have the need to integrate not already implemented converters, can easily do it by following the listed steps:

  1. add the core dependency in the pom.xml:
  2. Extend the org.apache.onami.converters.core.AbstractConverter, that's the class responsible for the conversion and self-binding, specifying the converted type:
    public final class DecimalFormatConverter
        extends AbstractConverter<DecimalFormat>
         * {@inheritDoc}
        public Object convert( String value, TypeLiteral<?> toType )
            return new DecimalFormat( value );
  3. Plug your new logging module and enjoy ;)