Package org.nuiton.version
Class VersionConverter
- java.lang.Object
-
- org.nuiton.version.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 convertVersion
usingConverter
API. Created on 7/11/14.- Since:
- 1.0
- Author:
- Tony Chemit - chemit@codelutin.com
- See Also:
Version
-
-
Constructor Summary
Constructors Constructor Description VersionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
convert(Class<T> aClass, Object value)
Class<Version>
getType()
protected boolean
isEnabled(Class<?> aClass)
-
-
-
Method Detail
-
getType
public Class<Version> getType()
- Specified by:
getType
in interfaceorg.nuiton.converter.NuitonConverter<Version>
-
convert
public <T> T convert(Class<T> aClass, Object value)
- Specified by:
convert
in interfaceorg.apache.commons.beanutils.Converter
-
isEnabled
protected boolean isEnabled(Class<?> aClass)
-
-