public boolean canAdapt ( Object input , Class < ? > outputType ) { Class < ? > inputType = input . getClass ( ) ; Adapter a = findAdapter ( input , inputType , outputType ) ; return a != null ; }
Return true if an adapter can be found to adapt the given input into the given output type .