Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_10) on Tue Nov 17 12:13:43 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. MultipartReport (JavaMail API documentation)
  9. </TITLE>
  10.  
  11. <META NAME="date" CONTENT="2009-11-17">
  12.  
  13. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  14.  
  15. <SCRIPT type="text/javascript">
  16. function windowTitle()
  17. {
  18.     if (location.href.indexOf('is-external=true') == -1) {
  19.         parent.document.title="MultipartReport (JavaMail API documentation)";
  20.     }
  21. }
  22. </SCRIPT>
  23. <NOSCRIPT>
  24. </NOSCRIPT>
  25.  
  26. </HEAD>
  27.  
  28. <BODY BGCOLOR="white" onload="windowTitle();">
  29. <HR>
  30.  
  31.  
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <A NAME="navbar_top"><!-- --></A>
  34. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  35. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  36. <TR>
  37. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  38. <A NAME="navbar_top_firstrow"><!-- --></A>
  39. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  40.   <TR ALIGN="center" VALIGN="top">
  41.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  42.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  43.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  44.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MultipartReport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  45.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  46.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  47.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  48.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  49.   </TR>
  50. </TABLE>
  51. </TD>
  52. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  53. </EM>
  54. </TD>
  55. </TR>
  56.  
  57. <TR>
  58. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  59. &nbsp;<A HREF="../../../../com/sun/mail/dsn/MessageHeaders.html" title="class in com.sun.mail.dsn"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../../index.html?com/sun/mail/dsn/MultipartReport.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="MultipartReport.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  64. &nbsp;<SCRIPT type="text/javascript">
  65.   <!--
  66.   if(window==top) {
  67.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  68.   }
  69.   //-->
  70. </SCRIPT>
  71. <NOSCRIPT>
  72.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  73. </NOSCRIPT>
  74.  
  75.  
  76. </FONT></TD>
  77. </TR>
  78. <TR>
  79. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  80.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  81. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  82. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  83. </TR>
  84. </TABLE>
  85. <A NAME="skip-navbar_top"></A>
  86. <!-- ========= END OF TOP NAVBAR ========= -->
  87.  
  88. <HR>
  89. <!-- ======== START OF CLASS DATA ======== -->
  90. <H2>
  91. <FONT SIZE="-1">
  92. com.sun.mail.dsn</FONT>
  93. <BR>
  94. Class MultipartReport</H2>
  95. <PRE>
  96. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  97.   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/Multipart.html" title="class in javax.mail">javax.mail.Multipart</A>
  98.       <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">javax.mail.internet.MimeMultipart</A>
  99.           <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.mail.dsn.MultipartReport</B>
  100. </PRE>
  101. <HR>
  102. <DL>
  103. <DT><PRE>public class <B>MultipartReport</B><DT>extends <A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></DL>
  104. </PRE>
  105.  
  106. <P>
  107. A multipart/report message content, as defined in
  108.  <A HREF="http://www.ietf.org/rfc/rfc3462.txt">RFC 3462</A>.
  109.  A multipart/report content is a container for mail reports
  110.  of any kind, and is most often used to return a delivery
  111.  status report or a disposition notification report. <p>
  112.  
  113.  A MultipartReport object is a special type of MimeMultipart
  114.  object with a restricted set of body parts.  A MultipartReport
  115.  object contains:
  116.  <ul>
  117.  <li>[Required] A human readable text message describing the
  118.  reason the report was generated.</li>
  119.  <li>[Required] A <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn"><CODE>Report</CODE></A> object containing the
  120.  details for why the report was generated.</li>
  121.  <li>[Optional] A returned copy of the entire message, or just
  122.  its headers, which caused the generation of this report.
  123.  </ul>
  124.  Many of the normal MimeMultipart operations are restricted to
  125.  ensure that the MultipartReport object always follows this
  126.  structure.
  127. <P>
  128.  
  129. <P>
  130. <DL>
  131. <DT><B>Since:</B></DT>
  132.   <DD>JavaMail 1.4</DD>
  133. </DL>
  134. <HR>
  135.  
  136. <P>
  137. <!-- =========== FIELD SUMMARY =========== -->
  138.  
  139. <A NAME="field_summary"><!-- --></A>
  140. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  141. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  142. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  143. <B>Field Summary</B></FONT></TH>
  144. </TR>
  145. <TR BGCOLOR="white" CLASS="TableRowColor">
  146. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  147. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  148. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#constructed">constructed</A></B></CODE>
  149.  
  150. <BR>
  151. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  152. </TR>
  153. </TABLE>
  154. &nbsp;<A NAME="fields_inherited_from_class_javax.mail.internet.MimeMultipart"><!-- --></A>
  155. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  156. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  157. <TH ALIGN="left"><B>Fields inherited from class javax.mail.internet.<A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></B></TH>
  158. </TR>
  159. <TR BGCOLOR="white" CLASS="TableRowColor">
  160. <TD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#ds">ds</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#parsed">parsed</A></CODE></TD>
  161. </TR>
  162. </TABLE>
  163. &nbsp;<A NAME="fields_inherited_from_class_javax.mail.Multipart"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  166. <TH ALIGN="left"><B>Fields inherited from class javax.mail.<A HREF="../../../../javax/mail/Multipart.html" title="class in javax.mail">Multipart</A></B></TH>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD><CODE><A HREF="../../../../javax/mail/Multipart.html#contentType">contentType</A>, <A HREF="../../../../javax/mail/Multipart.html#parent">parent</A>, <A HREF="../../../../javax/mail/Multipart.html#parts">parts</A></CODE></TD>
  170. </TR>
  171. </TABLE>
  172. &nbsp;
  173. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  174.  
  175. <A NAME="constructor_summary"><!-- --></A>
  176. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  177. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  178. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  179. <B>Constructor Summary</B></FONT></TH>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#MultipartReport()">MultipartReport</A></B>()</CODE>
  183.  
  184. <BR>
  185. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a multipart/report object with no content.</TD>
  186. </TR>
  187. <TR BGCOLOR="white" CLASS="TableRowColor">
  188. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#MultipartReport(javax.activation.DataSource)">MultipartReport</A></B>(<A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</A>&nbsp;ds)</CODE>
  189.  
  190. <BR>
  191. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MultipartReport object and its bodyparts from the
  192.  given DataSource.</TD>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#MultipartReport(java.lang.String, com.sun.mail.dsn.Report)">MultipartReport</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  196.                 <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report)</CODE>
  197.  
  198. <BR>
  199. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a multipart/report object with the specified plain
  200.  text and report type (DeliveryStatus or DispositionNotification)
  201.  to be returned to the user.</TD>
  202. </TR>
  203. <TR BGCOLOR="white" CLASS="TableRowColor">
  204. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#MultipartReport(java.lang.String, com.sun.mail.dsn.Report, javax.mail.internet.InternetHeaders)">MultipartReport</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  205.                 <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report,
  206.                 <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;hdr)</CODE>
  207.  
  208. <BR>
  209. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a multipart/report object with the specified plain
  210.  text, report, and headers from the original message
  211.  to be returned to the user.</TD>
  212. </TR>
  213. <TR BGCOLOR="white" CLASS="TableRowColor">
  214. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#MultipartReport(java.lang.String, com.sun.mail.dsn.Report, javax.mail.internet.MimeMessage)">MultipartReport</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  215.                 <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report,
  216.                 <A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A>&nbsp;msg)</CODE>
  217.  
  218. <BR>
  219. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a multipart/report object with the specified plain
  220.  text, report, and original message to be returned to the user.</TD>
  221. </TR>
  222. </TABLE>
  223. &nbsp;
  224. <!-- ========== METHOD SUMMARY =========== -->
  225.  
  226. <A NAME="method_summary"><!-- --></A>
  227. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  228. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  229. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  230. <B>Method Summary</B></FONT></TH>
  231. </TR>
  232. <TR BGCOLOR="white" CLASS="TableRowColor">
  233. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  234. <CODE>&nbsp;void</CODE></FONT></TD>
  235. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#addBodyPart(javax.mail.BodyPart)">addBodyPart</A></B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part)</CODE>
  236.  
  237. <BR>
  238. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a Part to the multipart.</TD>
  239. </TR>
  240. <TR BGCOLOR="white" CLASS="TableRowColor">
  241. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  242. <CODE>&nbsp;void</CODE></FONT></TD>
  243. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#addBodyPart(javax.mail.BodyPart, int)">addBodyPart</A></B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part,
  244.             int&nbsp;index)</CODE>
  245.  
  246. <BR>
  247. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a BodyPart at position <code>index</code>.</TD>
  248. </TR>
  249. <TR BGCOLOR="white" CLASS="TableRowColor">
  250. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  251. <CODE>&nbsp;<A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html" title="class in com.sun.mail.dsn">DeliveryStatus</A></CODE></FONT></TD>
  252. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getDeliveryStatus()">getDeliveryStatus</A></B>()</CODE>
  253.  
  254. <BR>
  255. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use getReport instead</I></TD>
  256. </TR>
  257. <TR BGCOLOR="white" CLASS="TableRowColor">
  258. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  259. <CODE>&nbsp;<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A></CODE></FONT></TD>
  260. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getReport()">getReport</A></B>()</CODE>
  261.  
  262. <BR>
  263. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the report associated with this multipart/report.</TD>
  264. </TR>
  265. <TR BGCOLOR="white" CLASS="TableRowColor">
  266. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  267. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></FONT></TD>
  268. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getReturnedMessage()">getReturnedMessage</A></B>()</CODE>
  269.  
  270. <BR>
  271. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the original message that is being returned along with this
  272.  multipart/report.</TD>
  273. </TR>
  274. <TR BGCOLOR="white" CLASS="TableRowColor">
  275. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  276. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  277. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getText()">getText</A></B>()</CODE>
  278.  
  279. <BR>
  280. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the plain text to be presented to the user, if there is any.</TD>
  281. </TR>
  282. <TR BGCOLOR="white" CLASS="TableRowColor">
  283. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  284. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/MimeBodyPart.html" title="class in javax.mail.internet">MimeBodyPart</A></CODE></FONT></TD>
  285. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getTextBodyPart()">getTextBodyPart</A></B>()</CODE>
  286.  
  287. <BR>
  288. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the body part containing the message to be presented to
  289.  the user, usually just a text/plain part.</TD>
  290. </TR>
  291. <TR BGCOLOR="white" CLASS="TableRowColor">
  292. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  293. <CODE>&nbsp;boolean</CODE></FONT></TD>
  294. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#removeBodyPart(javax.mail.BodyPart)">removeBodyPart</A></B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part)</CODE>
  295.  
  296. <BR>
  297. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the specified part from the multipart message.</TD>
  298. </TR>
  299. <TR BGCOLOR="white" CLASS="TableRowColor">
  300. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  301. <CODE>&nbsp;void</CODE></FONT></TD>
  302. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#removeBodyPart(int)">removeBodyPart</A></B>(int&nbsp;index)</CODE>
  303.  
  304. <BR>
  305. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the part at specified location (starting from 0).</TD>
  306. </TR>
  307. <TR BGCOLOR="white" CLASS="TableRowColor">
  308. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  309. <CODE>&nbsp;void</CODE></FONT></TD>
  310. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setDeliveryStatus(com.sun.mail.dsn.DeliveryStatus)">setDeliveryStatus</A></B>(<A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html" title="class in com.sun.mail.dsn">DeliveryStatus</A>&nbsp;status)</CODE>
  311.  
  312. <BR>
  313. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use setReport instead</I></TD>
  314. </TR>
  315. <TR BGCOLOR="white" CLASS="TableRowColor">
  316. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  317. <CODE>&nbsp;void</CODE></FONT></TD>
  318. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setReport(com.sun.mail.dsn.Report)">setReport</A></B>(<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report)</CODE>
  319.  
  320. <BR>
  321. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the report associated with this multipart/report.</TD>
  322. </TR>
  323. <TR BGCOLOR="white" CLASS="TableRowColor">
  324. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  325. <CODE>&nbsp;void</CODE></FONT></TD>
  326. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setReturnedMessage(javax.mail.internet.MimeMessage)">setReturnedMessage</A></B>(<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A>&nbsp;msg)</CODE>
  327.  
  328. <BR>
  329. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the original message to be returned as part of the
  330.  multipart/report.</TD>
  331. </TR>
  332. <TR BGCOLOR="white" CLASS="TableRowColor">
  333. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  334. <CODE>&nbsp;void</CODE></FONT></TD>
  335. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setSubType(java.lang.String)">setSubType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;subtype)</CODE>
  336.  
  337. <BR>
  338. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the subtype.</TD>
  339. </TR>
  340. <TR BGCOLOR="white" CLASS="TableRowColor">
  341. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  342. <CODE>&nbsp;void</CODE></FONT></TD>
  343. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setText(java.lang.String)">setText</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</CODE>
  344.  
  345. <BR>
  346. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the message to be presented to the user as just a text/plain
  347.  part containing the specified text.</TD>
  348. </TR>
  349. <TR BGCOLOR="white" CLASS="TableRowColor">
  350. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  351. <CODE>&nbsp;void</CODE></FONT></TD>
  352. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#setTextBodyPart(javax.mail.internet.MimeBodyPart)">setTextBodyPart</A></B>(<A HREF="../../../../javax/mail/internet/MimeBodyPart.html" title="class in javax.mail.internet">MimeBodyPart</A>&nbsp;mbp)</CODE>
  353.  
  354. <BR>
  355. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the body part containing the text to be presented to the
  356.  user.</TD>
  357. </TR>
  358. </TABLE>
  359. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.internet.MimeMultipart"><!-- --></A>
  360. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  361. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  362. <TH ALIGN="left"><B>Methods inherited from class javax.mail.internet.<A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></B></TH>
  363. </TR>
  364. <TR BGCOLOR="white" CLASS="TableRowColor">
  365. <TD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#createInternetHeaders(java.io.InputStream)">createInternetHeaders</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#createMimeBodyPart(java.io.InputStream)">createMimeBodyPart</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#createMimeBodyPart(javax.mail.internet.InternetHeaders, byte[])">createMimeBodyPart</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#getBodyPart(int)">getBodyPart</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#getBodyPart(java.lang.String)">getBodyPart</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#getCount()">getCount</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#getPreamble()">getPreamble</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#isComplete()">isComplete</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#parse()">parse</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#setPreamble(java.lang.String)">setPreamble</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#updateHeaders()">updateHeaders</A>, <A HREF="../../../../javax/mail/internet/MimeMultipart.html#writeTo(java.io.OutputStream)">writeTo</A></CODE></TD>
  366. </TR>
  367. </TABLE>
  368. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.Multipart"><!-- --></A>
  369. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  370. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  371. <TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/Multipart.html" title="class in javax.mail">Multipart</A></B></TH>
  372. </TR>
  373. <TR BGCOLOR="white" CLASS="TableRowColor">
  374. <TD><CODE><A HREF="../../../../javax/mail/Multipart.html#getContentType()">getContentType</A>, <A HREF="../../../../javax/mail/Multipart.html#getParent()">getParent</A>, <A HREF="../../../../javax/mail/Multipart.html#setMultipartDataSource(javax.mail.MultipartDataSource)">setMultipartDataSource</A>, <A HREF="../../../../javax/mail/Multipart.html#setParent(javax.mail.Part)">setParent</A></CODE></TD>
  375. </TR>
  376. </TABLE>
  377. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  378. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  379. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  380. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  381. </TR>
  382. <TR BGCOLOR="white" CLASS="TableRowColor">
  383. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  384. </TR>
  385. </TABLE>
  386. &nbsp;
  387. <P>
  388.  
  389. <!-- ============ FIELD DETAIL =========== -->
  390.  
  391. <A NAME="field_detail"><!-- --></A>
  392. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  393. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  394. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  395. <B>Field Detail</B></FONT></TH>
  396. </TR>
  397. </TABLE>
  398.  
  399. <A NAME="constructed"><!-- --></A><H3>
  400. constructed</H3>
  401. <PRE>
  402. protected boolean <B>constructed</B></PRE>
  403. <DL>
  404. <DL>
  405. </DL>
  406. </DL>
  407.  
  408. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  409.  
  410. <A NAME="constructor_detail"><!-- --></A>
  411. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  412. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  413. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  414. <B>Constructor Detail</B></FONT></TH>
  415. </TR>
  416. </TABLE>
  417.  
  418. <A NAME="MultipartReport()"><!-- --></A><H3>
  419. MultipartReport</H3>
  420. <PRE>
  421. public <B>MultipartReport</B>()
  422.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  423. <DL>
  424. <DD>Construct a multipart/report object with no content.
  425. <P>
  426. <DL>
  427.  
  428. <DT><B>Throws:</B>
  429. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  430. </DL>
  431. <HR>
  432.  
  433. <A NAME="MultipartReport(java.lang.String, com.sun.mail.dsn.Report)"><!-- --></A><H3>
  434. MultipartReport</H3>
  435. <PRE>
  436. public <B>MultipartReport</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  437.                        <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report)
  438.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  439. <DL>
  440. <DD>Construct a multipart/report object with the specified plain
  441.  text and report type (DeliveryStatus or DispositionNotification)
  442.  to be returned to the user.
  443. <P>
  444. <DL>
  445.  
  446. <DT><B>Throws:</B>
  447. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  448. </DL>
  449. <HR>
  450.  
  451. <A NAME="MultipartReport(java.lang.String, com.sun.mail.dsn.Report, javax.mail.internet.MimeMessage)"><!-- --></A><H3>
  452. MultipartReport</H3>
  453. <PRE>
  454. public <B>MultipartReport</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  455.                        <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report,
  456.                        <A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A>&nbsp;msg)
  457.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  458. <DL>
  459. <DD>Construct a multipart/report object with the specified plain
  460.  text, report, and original message to be returned to the user.
  461. <P>
  462. <DL>
  463.  
  464. <DT><B>Throws:</B>
  465. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  466. </DL>
  467. <HR>
  468.  
  469. <A NAME="MultipartReport(java.lang.String, com.sun.mail.dsn.Report, javax.mail.internet.InternetHeaders)"><!-- --></A><H3>
  470. MultipartReport</H3>
  471. <PRE>
  472. public <B>MultipartReport</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text,
  473.                        <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report,
  474.                        <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;hdr)
  475.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  476. <DL>
  477. <DD>Construct a multipart/report object with the specified plain
  478.  text, report, and headers from the original message
  479.  to be returned to the user.
  480. <P>
  481. <DL>
  482.  
  483. <DT><B>Throws:</B>
  484. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  485. </DL>
  486. <HR>
  487.  
  488. <A NAME="MultipartReport(javax.activation.DataSource)"><!-- --></A><H3>
  489. MultipartReport</H3>
  490. <PRE>
  491. public <B>MultipartReport</B>(<A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</A>&nbsp;ds)
  492.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  493. <DL>
  494. <DD>Constructs a MultipartReport object and its bodyparts from the
  495.  given DataSource. <p>
  496. <P>
  497. <DL>
  498. <DT><B>Parameters:</B><DD><CODE>ds</CODE> - DataSource, can be a MultipartDataSource
  499. <DT><B>Throws:</B>
  500. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  501. </DL>
  502.  
  503. <!-- ============ METHOD DETAIL ========== -->
  504.  
  505. <A NAME="method_detail"><!-- --></A>
  506. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  507. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  508. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  509. <B>Method Detail</B></FONT></TH>
  510. </TR>
  511. </TABLE>
  512.  
  513. <A NAME="getText()"><!-- --></A><H3>
  514. getText</H3>
  515. <PRE>
  516. public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getText</B>()
  517.                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  518. <DL>
  519. <DD>Get the plain text to be presented to the user, if there is any.
  520.  Rarely, the message may contain only HTML text, or no text at
  521.  all.  If the text body part of this multipart/report object is
  522.  of type text/plain, or if it is of type multipart/alternative
  523.  and contains a text/plain part, the text from that part is
  524.  returned.  Otherwise, null is return and the <A HREF="../../../../com/sun/mail/dsn/MultipartReport.html#getTextBodyPart()"><CODE>getTextBodyPart</CODE></A> method may be used to extract the data.
  525. <P>
  526. <DD><DL>
  527.  
  528. <DT><B>Throws:</B>
  529. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  530. </DD>
  531. </DL>
  532. <HR>
  533.  
  534. <A NAME="setText(java.lang.String)"><!-- --></A><H3>
  535. setText</H3>
  536. <PRE>
  537. public void <B>setText</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)
  538.              throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  539. <DL>
  540. <DD>Set the message to be presented to the user as just a text/plain
  541.  part containing the specified text.
  542. <P>
  543. <DD><DL>
  544.  
  545. <DT><B>Throws:</B>
  546. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  547. </DD>
  548. </DL>
  549. <HR>
  550.  
  551. <A NAME="getTextBodyPart()"><!-- --></A><H3>
  552. getTextBodyPart</H3>
  553. <PRE>
  554. public <A HREF="../../../../javax/mail/internet/MimeBodyPart.html" title="class in javax.mail.internet">MimeBodyPart</A> <B>getTextBodyPart</B>()
  555.                              throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  556. <DL>
  557. <DD>Return the body part containing the message to be presented to
  558.  the user, usually just a text/plain part.
  559. <P>
  560. <DD><DL>
  561.  
  562. <DT><B>Throws:</B>
  563. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  564. </DD>
  565. </DL>
  566. <HR>
  567.  
  568. <A NAME="setTextBodyPart(javax.mail.internet.MimeBodyPart)"><!-- --></A><H3>
  569. setTextBodyPart</H3>
  570. <PRE>
  571. public void <B>setTextBodyPart</B>(<A HREF="../../../../javax/mail/internet/MimeBodyPart.html" title="class in javax.mail.internet">MimeBodyPart</A>&nbsp;mbp)
  572.                      throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  573. <DL>
  574. <DD>Set the body part containing the text to be presented to the
  575.  user.  Usually this a text/plain part, but it might also be
  576.  a text/html part or a multipart/alternative part containing
  577.  text/plain and text/html parts.  Any type is allowed here
  578.  but these types are most common.
  579. <P>
  580. <DD><DL>
  581.  
  582. <DT><B>Throws:</B>
  583. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  584. </DD>
  585. </DL>
  586. <HR>
  587.  
  588. <A NAME="getReport()"><!-- --></A><H3>
  589. getReport</H3>
  590. <PRE>
  591. public <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A> <B>getReport</B>()
  592.                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  593. <DL>
  594. <DD>Get the report associated with this multipart/report.
  595. <P>
  596. <DD><DL>
  597.  
  598. <DT><B>Throws:</B>
  599. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>Since:</B></DT>
  600.   <DD>JavaMail 1.4.2</DD>
  601. </DL>
  602. </DD>
  603. </DL>
  604. <HR>
  605.  
  606. <A NAME="setReport(com.sun.mail.dsn.Report)"><!-- --></A><H3>
  607. setReport</H3>
  608. <PRE>
  609. public void <B>setReport</B>(<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A>&nbsp;report)
  610.                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  611. <DL>
  612. <DD>Set the report associated with this multipart/report.
  613. <P>
  614. <DD><DL>
  615.  
  616. <DT><B>Throws:</B>
  617. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>Since:</B></DT>
  618.   <DD>JavaMail 1.4.2</DD>
  619. </DL>
  620. </DD>
  621. </DL>
  622. <HR>
  623.  
  624. <A NAME="getDeliveryStatus()"><!-- --></A><H3>
  625. getDeliveryStatus</H3>
  626. <PRE>
  627. public <A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html" title="class in com.sun.mail.dsn">DeliveryStatus</A> <B>getDeliveryStatus</B>()
  628.                                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  629. <DL>
  630. <DD><B>Deprecated.</B>&nbsp;<I>use getReport instead</I>
  631. <P>
  632. <DD>Get the delivery status associated with this multipart/report.
  633. <P>
  634. <DD><DL>
  635.  
  636. <DT><B>Throws:</B>
  637. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  638. </DD>
  639. </DL>
  640. <HR>
  641.  
  642. <A NAME="setDeliveryStatus(com.sun.mail.dsn.DeliveryStatus)"><!-- --></A><H3>
  643. setDeliveryStatus</H3>
  644. <PRE>
  645. public void <B>setDeliveryStatus</B>(<A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html" title="class in com.sun.mail.dsn">DeliveryStatus</A>&nbsp;status)
  646.                        throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  647. <DL>
  648. <DD><B>Deprecated.</B>&nbsp;<I>use setReport instead</I>
  649. <P>
  650. <DD>Set the delivery status associated with this multipart/report.
  651. <P>
  652. <DD><DL>
  653.  
  654. <DT><B>Throws:</B>
  655. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  656. </DD>
  657. </DL>
  658. <HR>
  659.  
  660. <A NAME="getReturnedMessage()"><!-- --></A><H3>
  661. getReturnedMessage</H3>
  662. <PRE>
  663. public <A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A> <B>getReturnedMessage</B>()
  664.                                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  665. <DL>
  666. <DD>Get the original message that is being returned along with this
  667.  multipart/report.  If no original message is included, null is
  668.  returned.  In some cases only the headers of the original
  669.  message will be returned as an object of type MessageHeaders.
  670. <P>
  671. <DD><DL>
  672.  
  673. <DT><B>Throws:</B>
  674. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  675. </DD>
  676. </DL>
  677. <HR>
  678.  
  679. <A NAME="setReturnedMessage(javax.mail.internet.MimeMessage)"><!-- --></A><H3>
  680. setReturnedMessage</H3>
  681. <PRE>
  682. public void <B>setReturnedMessage</B>(<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A>&nbsp;msg)
  683.                         throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  684. <DL>
  685. <DD>Set the original message to be returned as part of the
  686.  multipart/report.  If msg is null, any previously set
  687.  returned message or headers is removed.
  688. <P>
  689. <DD><DL>
  690.  
  691. <DT><B>Throws:</B>
  692. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  693. </DD>
  694. </DL>
  695. <HR>
  696.  
  697. <A NAME="setSubType(java.lang.String)"><!-- --></A><H3>
  698. setSubType</H3>
  699. <PRE>
  700. public void <B>setSubType</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;subtype)
  701.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  702. <DL>
  703. <DD>Set the subtype.  Throws MessagingException.
  704. <P>
  705. <DD><DL>
  706. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#setSubType(java.lang.String)">setSubType</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></CODE></DL>
  707. </DD>
  708. <DD><DL>
  709. <DT><B>Parameters:</B><DD><CODE>subtype</CODE> - Subtype
  710. <DT><B>Throws:</B>
  711. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - always; can't change subtype</DL>
  712. </DD>
  713. </DL>
  714. <HR>
  715.  
  716. <A NAME="removeBodyPart(javax.mail.BodyPart)"><!-- --></A><H3>
  717. removeBodyPart</H3>
  718. <PRE>
  719. public boolean <B>removeBodyPart</B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part)
  720.                       throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  721. <DL>
  722. <DD>Remove the specified part from the multipart message.
  723. Not allowed on a multipart/report object.
  724. <P>
  725. <DD><DL>
  726. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#removeBodyPart(javax.mail.BodyPart)">removeBodyPart</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></CODE></DL>
  727. </DD>
  728. <DD><DL>
  729. <DT><B>Parameters:</B><DD><CODE>part</CODE> - The part to remove
  730. <DT><B>Returns:</B><DD>true if part removed, false otherwise
  731. <DT><B>Throws:</B>
  732. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - always</DL>
  733. </DD>
  734. </DL>
  735. <HR>
  736.  
  737. <A NAME="removeBodyPart(int)"><!-- --></A><H3>
  738. removeBodyPart</H3>
  739. <PRE>
  740. public void <B>removeBodyPart</B>(int&nbsp;index)
  741.                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  742. <DL>
  743. <DD>Remove the part at specified location (starting from 0).
  744. Not allowed on a multipart/report object.
  745. <P>
  746. <DD><DL>
  747. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#removeBodyPart(int)">removeBodyPart</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></CODE></DL>
  748. </DD>
  749. <DD><DL>
  750. <DT><B>Parameters:</B><DD><CODE>index</CODE> - Index of the part to remove
  751. <DT><B>Throws:</B>
  752. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - always</DL>
  753. </DD>
  754. </DL>
  755. <HR>
  756.  
  757. <A NAME="addBodyPart(javax.mail.BodyPart)"><!-- --></A><H3>
  758. addBodyPart</H3>
  759. <PRE>
  760. public void <B>addBodyPart</B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part)
  761.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  762. <DL>
  763. <DD>Adds a Part to the multipart.
  764. Not allowed on a multipart/report object.
  765. <P>
  766. <DD><DL>
  767. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#addBodyPart(javax.mail.BodyPart)">addBodyPart</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></CODE></DL>
  768. </DD>
  769. <DD><DL>
  770. <DT><B>Parameters:</B><DD><CODE>part</CODE> - The Part to be appended
  771. <DT><B>Throws:</B>
  772. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - always</DL>
  773. </DD>
  774. </DL>
  775. <HR>
  776.  
  777. <A NAME="addBodyPart(javax.mail.BodyPart, int)"><!-- --></A><H3>
  778. addBodyPart</H3>
  779. <PRE>
  780. public void <B>addBodyPart</B>(<A HREF="../../../../javax/mail/BodyPart.html" title="class in javax.mail">BodyPart</A>&nbsp;part,
  781.                        int&nbsp;index)
  782.                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  783. <DL>
  784. <DD>Adds a BodyPart at position <code>index</code>.
  785. Not allowed on a multipart/report object.
  786. <P>
  787. <DD><DL>
  788. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html#addBodyPart(javax.mail.BodyPart, int)">addBodyPart</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMultipart.html" title="class in javax.mail.internet">MimeMultipart</A></CODE></DL>
  789. </DD>
  790. <DD><DL>
  791. <DT><B>Parameters:</B><DD><CODE>part</CODE> - The BodyPart to be inserted<DD><CODE>index</CODE> - Location where to insert the part
  792. <DT><B>Throws:</B>
  793. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - always</DL>
  794. </DD>
  795. </DL>
  796. <!-- ========= END OF CLASS DATA ========= -->
  797. <HR>
  798.  
  799.  
  800. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  801. <A NAME="navbar_bottom"><!-- --></A>
  802. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  803. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  804. <TR>
  805. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  806. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  807. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  808.  <TR ALIGN="center" VALIGN="top">
  809.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  810.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  811.  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  812.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MultipartReport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  813.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  814.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  815.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  816.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  817.  </TR>
  818. </TABLE>
  819. </TD>
  820. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  821. </EM>
  822. </TD>
  823. </TR>
  824.  
  825. <TR>
  826. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  827. &nbsp;<A HREF="../../../../com/sun/mail/dsn/MessageHeaders.html" title="class in com.sun.mail.dsn"><B>PREV CLASS</B></A>&nbsp;
  828. &nbsp;<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn"><B>NEXT CLASS</B></A></FONT></TD>
  829. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  830.  <A HREF="../../../../index.html?com/sun/mail/dsn/MultipartReport.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  831. &nbsp;<A HREF="MultipartReport.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  832. &nbsp;<SCRIPT type="text/javascript">
  833.  <!--
  834.  if(window==top) {
  835.    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  836.  }
  837.  //-->
  838. </SCRIPT>
  839. <NOSCRIPT>
  840.  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  841. </NOSCRIPT>
  842.  
  843.  
  844. </FONT></TD>
  845. </TR>
  846. <TR>
  847. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  848.  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  849. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  850. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  851. </TR>
  852. </TABLE>
  853. <A NAME="skip-navbar_bottom"></A>
  854. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  855.  
  856. <HR>
  857. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  858. </BODY>
  859. </HTML>
  860.