Searched refs:setContent (Results 1 - 19 of 19) sorted by relevance

/javamail/mail/src/main/java/javax/mail/
H A DPart.java326 * i.e., to do <code>setContent(foobar, "application/x-foobar")</code>,
338 public void setContent(Object obj, String type) method in interface:Part
367 public void setContent(Multipart mp) throws MessagingException; method in interface:Part
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DMultipartReport.java113 mbp.setContent(report, ct.toString());
132 mbp.setContent(msg, "message/rfc822");
152 mbp.setContent(new MessageHeaders(hdr), "text/rfc822-headers");
285 mbp.setContent(report, ct.toString());
322 mbp.setContent(status, "message/delivery-status");
370 mbp.setContent(msg, "text/rfc822-headers");
372 mbp.setContent(msg, "message/rfc822");
/javamail/dsn/src/test/java/com/sun/mail/dsn/
H A DMultipartReportTest.java76 msg.setContent(mp);
/javamail/mail/src/test/java/javax/mail/internet/
H A DRestrictEncodingTest.java96 mbp.setContent(m2, "message/rfc822");
99 m.setContent(mp);
H A DMimeBodyPartTest.java102 msg.setContent(mp);
131 msg.setContent(mp);
H A DMimeMultipartPropertyTest.java145 m.setContent(mp);
154 m.setContent(mp);
H A DMimeMultipartParseTest.java129 msg.setContent(mp);
/javamail/demo/src/main/java/
H A Dmsgmultisendsample.java97 msg.setContent(mp);
H A Dsendfile.java115 msg.setContent(mp);
H A Dmsgsend.java177 msg.setContent(mp);
H A Dtransport.java112 msg.setContent(msgText+msgText2, "text/plain");
H A Dsmtpsend.java230 msg.setContent(mp);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java312 public void setContent(Object o, String type) throws MessagingException { method in class:IMAPBodyPart
316 public void setContent(Multipart mp) throws MessagingException { method in class:IMAPBodyPart
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeBodyPart.java700 * That is, to do <code>setContent(foobar, "application/x-foobar")</code>,
712 public void setContent(Object o, String type) method in class:MimeBodyPart
715 setContent((Multipart)o);
788 public void setContent(Multipart mp) throws MessagingException { method in class:MimeBodyPart
1183 part.setContent(text, "text/" + subtype + "; charset=" +
H A DMimeMessage.java1498 * i.e., to do <code>setContent(foobar, "application/x-foobar")</code>,
1511 public void setContent(Object o, String type) method in class:MimeMessage
1514 setContent((Multipart)o);
1587 public void setContent(Multipart mp) throws MessagingException { method in class:MimeMessage
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java1796 private void setContent(MimeBodyPart part, CharSequence buf, String type) throws MessagingException { method in class:MailHandler
2931 setContent(parts[i], buffers[i], getContentType(name));
2952 setContent(body, buf, altType == null ? contentType : altType);
2961 msg.setContent(multipart);
3216 setContent(body, "", bodyContentType);
3220 setContent(ambp[i], "", atn[i]);
3223 abort.setContent(multipart);
3360 setContent(body, toMsgString(t), "text/plain");
3363 msg.setContent(multipart);
/javamail/
H A Dmail.sig332 meth public abstract void setContent(java.lang.Object,java.lang.String) throws javax.mail.MessagingException
333 meth public abstract void setContent(javax.mail.Multipart) throws javax.mail.MessagingException
873 meth public void setContent(java.lang.Object,java.lang.String) throws javax.mail.MessagingException
874 meth public void setContent(javax.mail.Multipart) throws javax.mail.MessagingException
956 meth public void setContent(java.lang.Object,java.lang.String) throws javax.mail.MessagingException
957 meth public void setContent(javax.mail.Multipart) throws javax.mail.MessagingException
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java1523 part.setContent(part.getContent(),
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DMailHandlerTest.java5227 msg.setContent("", "text/plain");
5231 msg.setContent("", "text/plain");

Completed in 73 milliseconds