String function ( String arg0 ) { if ( extractSenderPattern == null ) { extractSenderPattern = Pattern . compile ( senderRegex ) ; } Matcher loc0 = extractSenderPattern . matcher ( arg0 ) ; if ( loc0 . find ( ) ) { return loc0 . group ( 1 ) ; } return null ; }
extracts the sender from the given string using the sender regex . concode_field_sep String senderKey concode_elem_sep String msgIdKey concode_elem_sep String messageKey concode_elem_sep String senderRegex concode_elem_sep Pattern extractSenderPattern concode_elem_sep Pattern extractRecipientPattern concode_elem_sep String recipientKey concode_elem_sep String timestampKey concode_elem_sep String recipientRegex concode_field_sep Boolean hasSenderRegex concode_elem_sep String extractRecipient concode_elem_sep void setMessageKey concode_elem_sep void setSenderKey concode_elem_sep String getMsgIdKey concode_elem_sep String getTimestampKey concode_elem_sep void setTimestampKey concode_elem_sep String getSenderKey concode_elem_sep String getRecipientKey concode_elem_sep void setSenderRegex concode_elem_sep void setMsgIdKey concode_elem_sep void setRecipientRegex concode_elem_sep void setRecipientKey concode_elem_sep String getMessageKey concode_elem_sep Boolean hasRecipientRegex concode_elem_sep String toString