Class VersionConverter

  • All Implemented Interfaces:
    org.apache.commons.beanutils.Converter, org.nuiton.converter.NuitonConverter<Version>

    public class VersionConverter
    extends Object
    implements org.nuiton.converter.NuitonConverter<Version>
    To convert Version using Converter API. Created on 7/11/14.
    Since:
    1.0
    Author:
    Tony Chemit - chemit@codelutin.com
    See Also:
    Version
    • Constructor Detail

      • VersionConverter

        public VersionConverter()
    • Method Detail

      • getType

        public Class<Version> getType()
        Specified by:
        getType in interface org.nuiton.converter.NuitonConverter<Version>
      • convert

        public <T> T convert​(Class<T> aClass,
                             Object value)
        Specified by:
        convert in interface org.apache.commons.beanutils.Converter
      • isEnabled

        protected boolean isEnabled​(Class<?> aClass)