HomeSort by relevance Sort by last modified time
    Searched refs:bodyParts (Results 1 - 2 of 2) sorted by null

  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
Multipart.java 48 private List<BodyPart> bodyParts = new LinkedList<BodyPart>();
92 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) {
121 return Collections.unmodifiableList(bodyParts);
127 * @param bodyParts the new list of <code>BodyPart</code> objects.
129 public void setBodyParts(List<BodyPart> bodyParts) {
130 this.bodyParts = bodyParts;
131 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) {
142 bodyParts.add(bodyPart);
170 List<BodyPart> bodyParts = getBodyParts();
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 130 String[] bodyParts;
132 bodyParts = Rfc822Output.buildBodyText(body1, false);
133 assertEquals(REPLY_INTRO_TEXT + ">" + REPLY_TEXT_BODY, bodyParts[0]);
140 bodyParts = Rfc822Output.buildBodyText(body1, false);
141 assertEquals(TEXT + REPLY_INTRO_TEXT + ">" + REPLY_TEXT_BODY, bodyParts[0]);
149 bodyParts = Rfc822Output.buildBodyText(body1, false);
150 assertEquals(TEXT + REPLY_INTRO_TEXT + BODY_TEXT_REPLY_HTML, bodyParts[0]);
158 bodyParts = Rfc822Output.buildBodyText(body1, false);
159 assertEquals(TEXT + REPLY_INTRO_TEXT, bodyParts[0]);
165 bodyParts = Rfc822Output.buildBodyText(body2, true)
    [all...]

Completed in 34 milliseconds