Package org.nuiton.converter
Class ColorConverter
- java.lang.Object
-
- org.nuiton.converter.ColorConverter
-
- All Implemented Interfaces:
org.apache.commons.beanutils.Converter
,NuitonConverter<Color>
public class ColorConverter extends Object implements NuitonConverter<Color>
- Since:
- 1.0
- Author:
- mallon - mallon@codelutin.com, Tony Chemit - chemit@codelutin.com
-
-
Constructor Summary
Constructors Constructor Description ColorConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
convert(Class<T> aClass, Object value)
Class<Color>
getType()
protected boolean
isEnabled(Class<?> aClass)
-
-
-
Method Detail
-
convert
public <T> T convert(Class<T> aClass, Object value)
- Specified by:
convert
in interfaceorg.apache.commons.beanutils.Converter
-
getType
public Class<Color> getType()
- Specified by:
getType
in interfaceNuitonConverter<Color>
- Returns:
- the main type of the converter.
-
isEnabled
protected boolean isEnabled(Class<?> aClass)
-
-