OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BodyPart
(Results
1 - 13
of
13
) sorted by null
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
Multipart.java
24
protected ArrayList<
BodyPart
> mParts = new ArrayList<
BodyPart
>();
28
public void addBodyPart(
BodyPart
part) throws MessagingException {
32
public void addBodyPart(
BodyPart
part, int index) throws MessagingException {
36
public
BodyPart
getBodyPart(int index) throws MessagingException {
48
public boolean removeBodyPart(
BodyPart
part) throws MessagingException {
BodyPart.java
19
public abstract class
BodyPart
implements Part {
/packages/apps/Email/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();) {
118
* @return the list of <code>
BodyPart
</code> objects.
120
public List<
BodyPart
> getBodyParts() {
127
* @param bodyParts the new list of <code>
BodyPart
</code> objects.
129
public void setBodyParts(List<
BodyPart
> bodyParts) {
131
for (Iterator<
BodyPart
> it = bodyParts.iterator(); it.hasNext();) {
139
* @param
bodyPart
the body part.
141
public void addBodyPart(
BodyPart
bodyPart) {
[
all
...]
BodyPart.java
30
* @version $Id:
BodyPart
.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $
32
public class
BodyPart
extends Entity {
Message.java
208
BodyPart
bodyPart
= new
BodyPart
();
209
((Multipart) stack.peek()).addBodyPart(
bodyPart
);
210
stack.push(
bodyPart
);
217
expect(
BodyPart
.class);
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
MessageTestUtils.java
77
public static
BodyPart
bodyPart
(String mimeType, String contentId) throws MessagingException {
93
public static
BodyPart
textPart(String mimeType, String text) throws MessagingException {
104
* Multipart or
BodyPart
which contains accepted BodyParts. Usually combined with other
109
private final ArrayList<
BodyPart
> mParts = new ArrayList<
BodyPart
>();
131
* Modifier method to add
BodyPart
to intended Multipart.
133
* @param
bodyPart
BodyPart
to be added
136
public MultipartBuilder addBodyPart(final
BodyPart
bodyPart)
[
all
...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
MimeMultipart.java
19
import com.android.emailcommon.mail.
BodyPart
;
93
BodyPart
bodyPart
= mParts.get(i);
96
bodyPart
.writeTo(out);
MimeBodyPart.java
20
import com.android.emailcommon.mail.
BodyPart
;
33
public class MimeBodyPart extends
BodyPart
{
MimeUtility.java
26
import com.android.emailcommon.mail.
BodyPart
;
222
BodyPart
bodyPart
= multipart.getBodyPart(i);
223
Part ret = findFirstPartByMimeType(
bodyPart
, mimeType);
239
BodyPart
bodyPart
= multipart.getBodyPart(i);
240
Part ret = findPartByContentId(
bodyPart
, contentId);
453
BodyPart
bp = mp.getBodyPart(i);
MimeMessage.java
21
import com.android.emailcommon.mail.
BodyPart
;
585
MimeBodyPart
bodyPart
= new MimeBodyPart();
586
((MimeMultipart)stack.peek()).addBodyPart(
bodyPart
);
587
stack.push(
bodyPart
);
594
expect(
BodyPart
.class);
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java
27
import com.android.emailcommon.mail.
BodyPart
;
257
BodyPart
[] sourceAttachments = new
BodyPart
[3];
258
BodyPart
attachmentPart;
261
attachmentPart = MessageTestUtils.
bodyPart
("image/jpg", null);
270
attachmentPart = MessageTestUtils.
bodyPart
("image/gif", null);
279
attachmentPart = MessageTestUtils.
bodyPart
("text/calendar", null);
342
BodyPart
[] attachmentParts = new
BodyPart
[numAttachments];
355
BodyPart
attachmentPart = MessageTestUtils.bodyPart("image/jpg", null)
[
all
...]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java
29
import org.apache.james.mime4j.message.
BodyPart
;
275
List<
BodyPart
> partList = multipart.getBodyParts();
319
List<
BodyPart
> partList = multipart.getBodyParts();
MimeUtilityTest.java
23
import com.android.emailcommon.mail.
BodyPart
;
314
final Part cid1bp = MessageTestUtils.
bodyPart
("image/gif", cid1);
316
final Part cid2bp = MessageTestUtils.
bodyPart
("image/gif", "<" + cid2 + ">");
320
.addBodyPart(MessageTestUtils.
bodyPart
("text/html", null))
321
.addBodyPart((
BodyPart
)cid1bp)
330
.addBodyPart(MessageTestUtils.
bodyPart
("image/tiff", "cid.4@android.com"))
333
.addBodyPart(MessageTestUtils.
bodyPart
("text/plain", null))
334
.addBodyPart(MessageTestUtils.
bodyPart
("text/html", null))
336
.addBodyPart((
BodyPart
)cid1bp)
338
.addBodyPart(MessageTestUtils.
bodyPart
("image/gif", "cid.3@android.com")
[
all
...]
Completed in 339 milliseconds