Ejemplo n.º 1
0
  @Override
  public Date getSentDate() {
    if (mSentDate == null) {
      try {
        DateTimeField field =
            (DateTimeField)
                DefaultFieldParser.parse(
                    "Date: " + MimeUtility.unfoldAndDecode(getFirstHeader("Date")));
        mSentDate = field.getDate();
      } catch (Exception e) {

      }
    }
    return mSentDate;
  }
Ejemplo n.º 2
0
 /** Returns the unfolded, decoded value of the Subject header. */
 @Override
 public String getSubject() {
   return MimeUtility.unfoldAndDecode(getFirstHeader("Subject"), this);
 }