Searched refs:getFirstHeader (Results 1 – 3 of 3) sorted by relevance
170 "Date: " + MimeUtility.unfoldAndDecode(getFirstHeader("Date"))); in getSentDate()184 "Date: " + MimeUtility.unfoldAndDecode(getFirstHeader("Delivery-date"))); in getSentDate()206 durationHeader = getFirstHeader(MimeHeader.HEADER_CONTENT_DURATION); in getDuration()225 final String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()235 return getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()240 final String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()267 to = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients()272 cc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients()277 bcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients()322 return MimeUtility.unfoldAndDecode(getFirstHeader("Subject")); in getSubject()[all …]
55 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeBodyPart56 return header.getFirstHeader(name); in getFirstHeader()105 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()115 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()125 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()186 return extendedHeader.getFirstHeader(name); in getExtendedHeader()
54 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeHeader