/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | ModifyMessageTest.java | 66 MimeMultipart mp = (MimeMultipart)m.getContent(); 77 MimeMultipart mp = (MimeMultipart)m.getContent(); 88 MimeMultipart mp = (MimeMultipart)m.getContent(); 91 mp.addBodyPart(mbp); 95 mp = (MimeMultipart)m2.getContent(); 96 BodyPart bp = mp.getBodyPart(2); 99 bp = mp.getBodyPart(0); 101 bp = mp.getBodyPart(1); 108 MimeMultipart mp = (MimeMultipart)m.getContent(); 109 BodyPart bp = mp [all...] |
H A D | RestrictEncodingTest.java | 68 MimeMultipart mp = (MimeMultipart)m.getContent(); 69 assertEquals(2, mp.getCount()); 71 BodyPart bp = mp.getBodyPart(0); 78 MimeMultipart mp = (MimeMultipart)m.getContent(); 80 BodyPart bp = mp.getBodyPart(1); 88 MimeMultipart mp = new MimeMultipart(); 91 mp.addBodyPart(mbp); 98 mp.addBodyPart(mbp); 99 m.setContent(mp); 103 mp [all...] |
H A D | MimeMultipartPropertyTest.java | 77 MimeMultipart mp = (MimeMultipart)m.getContent(); 78 assertEquals(mp.getCount(), 2); 86 MimeMultipart mp = (MimeMultipart)m.getContent(); 87 assertEquals(mp.getCount(), 2); 93 MimeMultipart mp = (MimeMultipart)m.getContent(); 94 assertEquals(mp.getCount(), 2); 102 MimeMultipart mp = (MimeMultipart)m.getContent(); 103 mp.getCount(); // throw exception 110 MimeMultipart mp = (MimeMultipart)m.getContent(); 111 assertEquals(mp [all...] |
H A D | NonAsciiBoundaryTest.java | 66 MimeMultipart mp = (MimeMultipart)m.getContent(); 67 assertEquals(2, mp.getCount()); 68 BodyPart bp = mp.getBodyPart(0); 70 bp = mp.getBodyPart(1);
|
H A D | MimeMultipartParseTest.java | 125 MimeMultipart mp = new MimeMultipart(); 126 mp.addBodyPart(mbp1); 127 mp.addBodyPart(mbp2); 128 mp.addBodyPart(mbp3); 129 msg.setContent(mp); 148 mp = (MimeMultipart)msg.getContent(); 149 mbp2 = (MimeBodyPart)mp.getBodyPart(1);
|
H A D | MimeBodyPartTest.java | 98 MimeMultipart mp = new MimeMultipart(); 101 mp.addBodyPart(mbp); 102 msg.setContent(mp); 105 mp = (MimeMultipart)msg.getContent(); 106 mbp = (MimeBodyPart)mp.getBodyPart(0); 126 MimeMultipart mp = new MimeMultipart(); 130 mp.addBodyPart(mbp); 131 msg.setContent(mp); 134 mp = (MimeMultipart)msg.getContent(); 135 mbp = (MimeBodyPart)mp [all...] |
H A D | AllowEncodedMessages.java | 71 MimeMultipart mp = (MimeMultipart)m.getContent(); 72 BodyPart bp = mp.getBodyPart(0);
|
/javamail/mail/src/main/java/javax/mail/ |
H A D | MessageContext.java | 107 Multipart mp = bp.getParent(); 108 if (mp == null) // MimeBodyPart might not be in a MimeMultipart 110 p = mp.getParent();
|
H A D | Multipart.java | 106 * @param mp Multipart datasource 109 protected synchronized void setMultipartDataSource(MultipartDataSource mp) argument 111 contentType = mp.getContentType(); 113 int count = mp.getCount(); 115 addBodyPart(mp.getBodyPart(i));
|
H A D | Part.java | 359 * @param mp The multipart object that is the Message's content 367 public void setContent(Multipart mp) throws MessagingException; argument
|
/javamail/dsn/src/test/java/com/sun/mail/dsn/ |
H A D | MultipartReportTest.java | 63 MultipartReport mp = new MultipartReport(); 64 mp.setText("test Multipart Report\n"); 75 mp.setReport(ds); 76 msg.setContent(mp);
|
/javamail/mail/src/test/java/com/sun/mail/util/ |
H A D | ContentTypeCleaner.java | 75 MimeMultipart mp = (MimeMultipart)m.getContent(); 76 BodyPart bp = mp.getBodyPart(0); 84 MimeMultipart mp = (MimeMultipart)m.getContent(); 85 BodyPart bp = mp.getBodyPart(1); 93 MimeMultipart mp = (MimeMultipart)m.getContent(); 94 BodyPart bp = mp.getBodyPart(2); 99 public static String cleanContentType(MimePart mp, String contentType) { argument
|
/javamail/mail/src/main/java/javax/mail/search/ |
H A D | BodyTerm.java | 102 Multipart mp = (Multipart)p.getContent(); 103 int count = mp.getCount(); 105 if (matchPart(mp.getBodyPart(i)))
|
/javamail/demo/src/main/java/ |
H A D | msgmultisendsample.java | 92 Multipart mp = new MimeMultipart(); 93 mp.addBodyPart(mbp1); 94 mp.addBodyPart(mbp2); 97 msg.setContent(mp);
|
H A D | sendfile.java | 110 Multipart mp = new MimeMultipart(); 111 mp.addBodyPart(mbp1); 112 mp.addBodyPart(mbp2); 115 msg.setContent(mp);
|
H A D | msgsend.java | 174 MimeMultipart mp = new MimeMultipart(); 175 mp.addBodyPart(mbp1); 176 mp.addBodyPart(mbp2); 177 msg.setContent(mp);
|
H A D | smtpsend.java | 227 MimeMultipart mp = new MimeMultipart(); 228 mp.addBodyPart(mbp1); 229 mp.addBodyPart(mbp2); 230 msg.setContent(mp);
|
/javamail/taglib/src/main/java/demo/ |
H A D | MessageInfo.java | 62 Multipart mp = (Multipart)message.getContent(); 63 int numParts = mp.getCount(); 65 if (mp.getBodyPart(i).isMimeType("text/plain")) 66 return (String)mp.getBodyPart(i).getContent(); 70 Multipart mp = (Multipart)content; 71 if (mp.getBodyPart(0).isMimeType("text/plain")) 72 return (String)mp.getBodyPart(0).getContent(); 179 Multipart mp = (Multipart)message.getContent(); 180 if (mp.getCount() > 1)
|
/javamail/mail/src/test/java/com/sun/mail/util/logging/ |
H A D | LogManagerPropertiesTest.java | 290 LogManagerProperties mp; 300 mp = new LogManagerProperties(parent, prefix); 302 assertFalse(contains(mp, key, null)); 303 assertEquals("value", mp.getProperty(key)); 304 assertTrue(contains(mp, key, "value")); //ensure copy worked. 309 Properties clone = (Properties) mp.clone(); 313 assertNotSame(clone, mp); 314 assertEquals(mp.size(), clone.size()); 315 assertTrue(clone.equals(mp)); //don't call mp [all...] |
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | MimeUtil.java | 94 * @param mp the MimePart 98 public static String cleanContentType(MimePart mp, String contentType) { argument 102 new Object[] { mp, contentType });
|
/javamail/mail/src/test/java/com/sun/mail/pop3/ |
H A D | POP3MessageTest.java | 149 Multipart mp = (Multipart)content; 150 int cnt = mp.getCount(); 152 loadMail(mp.getBodyPart(i));
|
/javamail/client/src/main/java/ |
H A D | MultipartViewer.java | 70 protected void setupDisplay(Multipart mp) { argument 82 BodyPart bp = mp.getBodyPart(0); 92 int count = mp.getCount(); 105 BodyPart curr = mp.getBodyPart(i);
|
H A D | MessageViewer.java | 242 Multipart mp = (Multipart)o; 243 int count = mp.getCount(); 245 dumpPart(newpref, mp.getBodyPart(i));
|
/javamail/dsn/src/main/java/com/sun/mail/dsn/ |
H A D | MultipartReport.java | 196 Multipart mp = (Multipart)bp.getContent(); 197 for (int i = 0; i < mp.getCount(); i++) { 198 bp = mp.getBodyPart(i);
|
/javamail/demo/src/main/java/internal/ |
H A D | testidle.java | 359 Multipart mp = (Multipart)p.getContent(); 361 int count = mp.getCount(); 363 dumpPart(mp.getBodyPart(i));
|