Searched refs:getContent (Results 1 - 25 of 44) sorted by relevance

12

/javamail/mail/src/test/java/javax/mail/internet/
H A DModifyMessageTest.java66 MimeMultipart mp = (MimeMultipart)m.getContent();
77 MimeMultipart mp = (MimeMultipart)m.getContent();
88 MimeMultipart mp = (MimeMultipart)m.getContent();
95 mp = (MimeMultipart)m2.getContent();
97 assertEquals("test", bp.getContent());
100 assertEquals("first part\n", bp.getContent());
102 assertEquals("second part\n", bp.getContent());
108 MimeMultipart mp = (MimeMultipart)m.getContent();
114 mp = (MimeMultipart)m2.getContent();
116 assertEquals("test", bp.getContent());
[all...]
H A DRestrictEncodingTest.java68 MimeMultipart mp = (MimeMultipart)m.getContent();
72 assertEquals("first part=\n", bp.getContent());
78 MimeMultipart mp = (MimeMultipart)m.getContent();
81 MimeMessage m2 = (MimeMessage)bp.getContent();
82 assertEquals("message=\n", m2.getContent());
103 mp = (MimeMultipart)m.getContent();
106 m2 = (MimeMessage)bp.getContent();
107 assertEquals("message=\n", m2.getContent());
H A DNonAsciiBoundaryTest.java66 MimeMultipart mp = (MimeMultipart)m.getContent();
69 assertEquals("first part\n", bp.getContent());
71 assertEquals("second part\n", bp.getContent());
H A DMimeMultipartPropertyTest.java77 MimeMultipart mp = (MimeMultipart)m.getContent();
86 MimeMultipart mp = (MimeMultipart)m.getContent();
93 MimeMultipart mp = (MimeMultipart)m.getContent();
102 MimeMultipart mp = (MimeMultipart)m.getContent();
110 MimeMultipart mp = (MimeMultipart)m.getContent();
119 MimeMultipart mp = (MimeMultipart)m.getContent();
128 MimeMultipart mp = (MimeMultipart)m.getContent();
135 MimeMultipart mp = (MimeMultipart)m.getContent();
H A DAllowEncodedMessages.java71 MimeMultipart mp = (MimeMultipart)m.getContent();
75 MimeMessage m2 = (MimeMessage)bp.getContent();
77 assertEquals("test message\r\n", m2.getContent());
H A DMimeBodyPartTest.java93 MimeMultipart omp = (MimeMultipart)orig.getContent();
105 mp = (MimeMultipart)msg.getContent();
121 MimeMultipart omp = (MimeMultipart)orig.getContent();
134 mp = (MimeMultipart)msg.getContent();
H A DMimeMultipartPreambleTest.java127 MimeMultipart topMultipart = (MimeMultipart) mimeMessage.getContent();
/javamail/mail/src/main/java/javax/mail/search/
H A DBodyTerm.java89 String s = (String)p.getContent();
102 Multipart mp = (Multipart)p.getContent();
108 return matchPart((Part)p.getContent());
/javamail/mail/src/test/java/com/sun/mail/util/
H A DContentTypeCleaner.java75 MimeMultipart mp = (MimeMultipart)m.getContent();
78 assertEquals("first part\n", bp.getContent());
84 MimeMultipart mp = (MimeMultipart)m.getContent();
87 assertEquals("second part\n", bp.getContent());
93 MimeMultipart mp = (MimeMultipart)m.getContent();
96 assertEquals("third part\n", bp.getContent());
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A Dmessage_deliverystatus.java83 return getContent(ds);
91 public Object getContent(DataSource ds) throws IOException { method in class:message_deliverystatus
H A Dmessage_dispositionnotification.java83 return getContent(ds);
91 public Object getContent(DataSource ds) throws IOException { method in class:message_dispositionnotification
H A Dmultipart_report.java84 return getContent(ds);
92 public Object getContent(DataSource ds) throws IOException { method in class:multipart_report
H A DMultipartReport.java194 return (String)bp.getContent();
196 Multipart mp = (Multipart)bp.getContent();
200 return (String)bp.getContent();
261 Object content = bp.getContent();
305 return (DeliveryStatus)bp.getContent();
347 return (MimeMessage)bp.getContent();
H A Dtext_rfc822headers.java88 return getContent(ds);
95 public Object getContent(DataSource ds) throws IOException { method in class:text_rfc822headers
/javamail/android/activation/src/main/java/javax/activation/
H A DDataContentHandler.java98 public Object getContent(DataSource ds) throws IOException; method in interface:DataContentHandler
/javamail/android/mail/src/main/java/com/sun/mail/handlers/
H A Dhandler_base.java59 * Usually there's only one flavor so just call getContent.
63 return getContent(ds);
/javamail/taglib/src/main/java/demo/
H A DAttachmentInfo.java62 public String getContent() throws IOException, MessagingException { method in class:AttachmentInfo
64 return (String)part.getContent();
H A DMessageInfo.java58 Object content = message.getContent();
62 Multipart mp = (Multipart)message.getContent();
66 return (String)mp.getBodyPart(i).getContent();
72 return (String)mp.getBodyPart(0).getContent();
179 Multipart mp = (Multipart)message.getContent();
H A DListAttachmentsTag.java75 multipart = (Multipart)messageInfo.getMessage().getContent();
/javamail/mail/src/main/java/com/sun/mail/handlers/
H A Dhandler_base.java60 * Usually there's only one flavor so just call getContent.
64 return getContent(ds);
H A Dmultipart_mixed.java63 public Object getContent(DataSource ds) throws IOException { method in class:multipart_mixed
H A Dimage_gif.java59 public Object getContent(DataSource ds) throws IOException { method in class:image_gif
H A Dmessage_rfc822.java68 public Object getContent(DataSource ds) throws IOException { method in class:message_rfc822
/javamail/mail/src/test/java/com/sun/mail/pop3/
H A DPOP3FolderClosedExceptionTest.java93 msg.getContent();
99 msg.getContent();
/javamail/webapp/src/main/java/demo/
H A DAttachmentServlet.java68 Multipart multipart = (Multipart)msg.getContent();

Completed in 367 milliseconds

12