protected Object convert ( Object object , Class < ? > type ) { try { return ConvertUtils . convert ( object , type ) ; } catch ( Exception e ) { logger . warn ( "Cannot convert [" + object + "] to [" + type + "]" , e ) ; return null ; } }
Converts the specified object to the specified type . This method is overridable . You can provide your own conversion to the parameter construction by overriding this method .