converts a javamail multipart into a body of any type a string can be converted into . the content-type of the part must be text based . concode_field_sep String NOW_DATE_FORMAT concode_elem_sep Pattern NOW_PATTERN concode_field_sep String toString concode_elem_sep String toString concode_elem_sep long extractOffset concode_elem_sep InputStream toInputStream concode_elem_sep InputStream toInputStream concode_elem_sep SearchTerm toSearchTerm concode_elem_sep SortTerm[] toSortTerm
T function ( Class < T > arg0 , Exchange arg1 , Object arg2 , TypeConverterRegistry arg3 ) { if ( Multipart . class . isAssignableFrom ( arg2 . getClass ( ) ) ) { TypeConverter loc0 = arg3 . lookup ( arg0 , String . class ) ; if ( loc0 != null ) { String loc1 = toString ( ( Multipart ) arg2 ) ; if ( loc1 != null ) { return loc0 . convertTo ( arg0 , loc1 ) ; } } } return null ; }