question: public static InternetAddress parseEmail ( Object value ) { String str = Caster . toString ( value , "" ) ; if ( str . indexOf ( '@' ) > - 1 ) { try { InternetAddress addr = new InternetAddress ( str ) ; fixIDN ( addr ) ; return addr ; } catch ( AddressException ex ) { } } return null ; }
target:  returns an InternetAddress object or null if the parsing fails.  to be be used in multiple places.