Package org.mvel2.conversion
Class FloatCH
java.lang.Object
org.mvel2.conversion.FloatCH
- All Implemented Interfaces:
ConversionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvertFrom(Class cls) This method is used to indicate to the runtime whehter or not the handler knows how to convert from the specified type.convertFrom(Object in) Converts the passed argument to the type represented by the handler.
-
Constructor Details
-
FloatCH
public FloatCH()
-
-
Method Details
-
convertFrom
Description copied from interface:ConversionHandlerConverts the passed argument to the type represented by the handler.- Specified by:
convertFromin interfaceConversionHandler- Parameters:
in- - the input type- Returns:
- - the converted type
-
canConvertFrom
Description copied from interface:ConversionHandlerThis method is used to indicate to the runtime whehter or not the handler knows how to convert from the specified type.- Specified by:
canConvertFromin interfaceConversionHandler- Parameters:
cls- - the source type- Returns:
- - true if the converter supports converting from the specified type.
-