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:42 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. DeliveryStatus (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="DeliveryStatus (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/DeliveryStatus.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;PREV CLASS&nbsp;
  60. &nbsp;<A HREF="../../../../com/sun/mail/dsn/DispositionNotification.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/DeliveryStatus.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="DeliveryStatus.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 DeliveryStatus</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="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">com.sun.mail.dsn.Report</A>
  98.       <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.mail.dsn.DeliveryStatus</B>
  99. </PRE>
  100. <HR>
  101. <DL>
  102. <DT><PRE>public class <B>DeliveryStatus</B><DT>extends <A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A></DL>
  103. </PRE>
  104.  
  105. <P>
  106. A message/delivery-status message content, as defined in
  107.  <A HREF="http://www.ietf.org/rfc/rfc3464.txt">RFC 3464</A>.
  108. <P>
  109.  
  110. <P>
  111. <DL>
  112. <DT><B>Since:</B></DT>
  113.   <DD>JavaMail 1.4</DD>
  114. </DL>
  115. <HR>
  116.  
  117. <P>
  118. <!-- =========== FIELD SUMMARY =========== -->
  119.  
  120. <A NAME="field_summary"><!-- --></A>
  121. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  122. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  123. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  124. <B>Field Summary</B></FONT></TH>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>protected &nbsp;<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A></CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#messageDSN">messageDSN</A></B></CODE>
  130.  
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The DSN fields for the message.</TD>
  133. </TR>
  134. <TR BGCOLOR="white" CLASS="TableRowColor">
  135. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  136. <CODE>protected &nbsp;<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>[]</CODE></FONT></TD>
  137. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#recipientDSN">recipientDSN</A></B></CODE>
  138.  
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The DSN fields for each recipient.</TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;<A NAME="fields_inherited_from_class_com.sun.mail.dsn.Report"><!-- --></A>
  144. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  145. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  146. <TH ALIGN="left"><B>Fields inherited from class com.sun.mail.dsn.<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A></B></TH>
  147. </TR>
  148. <TR BGCOLOR="white" CLASS="TableRowColor">
  149. <TD><CODE><A HREF="../../../../com/sun/mail/dsn/Report.html#type">type</A></CODE></TD>
  150. </TR>
  151. </TABLE>
  152. &nbsp;
  153. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  154.  
  155. <A NAME="constructor_summary"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  158. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  159. <B>Constructor Summary</B></FONT></TH>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#DeliveryStatus()">DeliveryStatus</A></B>()</CODE>
  163.  
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a delivery status notification with no content.</TD>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#DeliveryStatus(java.io.InputStream)">DeliveryStatus</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)</CODE>
  169.  
  170. <BR>
  171. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a delivery status notification by parsing the
  172.  supplied input stream.</TD>
  173. </TR>
  174. </TABLE>
  175. &nbsp;
  176. <!-- ========== METHOD SUMMARY =========== -->
  177.  
  178. <A NAME="method_summary"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  181. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  182. <B>Method Summary</B></FONT></TH>
  183. </TR>
  184. <TR BGCOLOR="white" CLASS="TableRowColor">
  185. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  186. <CODE>&nbsp;void</CODE></FONT></TD>
  187. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#addRecipientDSN(javax.mail.internet.InternetHeaders)">addRecipientDSN</A></B>(<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;h)</CODE>
  188.  
  189. <BR>
  190. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add deliver status notification information for another
  191.  recipient.</TD>
  192. </TR>
  193. <TR BGCOLOR="white" CLASS="TableRowColor">
  194. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  195. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A></CODE></FONT></TD>
  196. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#getMessageDSN()">getMessageDSN</A></B>()</CODE>
  197.  
  198. <BR>
  199. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return all the per-message fields in the delivery status notification.</TD>
  200. </TR>
  201. <TR BGCOLOR="white" CLASS="TableRowColor">
  202. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  203. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A></CODE></FONT></TD>
  204. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#getRecipientDSN(int)">getRecipientDSN</A></B>(int&nbsp;n)</CODE>
  205.  
  206. <BR>
  207. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the delivery status notification information for
  208.  the specified recipient.</TD>
  209. </TR>
  210. <TR BGCOLOR="white" CLASS="TableRowColor">
  211. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  212. <CODE>&nbsp;int</CODE></FONT></TD>
  213. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#getRecipientDSNCount()">getRecipientDSNCount</A></B>()</CODE>
  214.  
  215. <BR>
  216. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the number of recipients for which we have
  217.  per-recipient delivery status notification information.</TD>
  218. </TR>
  219. <TR BGCOLOR="white" CLASS="TableRowColor">
  220. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  221. <CODE>&nbsp;void</CODE></FONT></TD>
  222. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#setMessageDSN(javax.mail.internet.InternetHeaders)">setMessageDSN</A></B>(<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;messageDSN)</CODE>
  223.  
  224. <BR>
  225. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the per-message fields in the delivery status notification.</TD>
  226. </TR>
  227. <TR BGCOLOR="white" CLASS="TableRowColor">
  228. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  229. <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>
  230. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#toString()">toString</A></B>()</CODE>
  231.  
  232. <BR>
  233. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  234. </TR>
  235. <TR BGCOLOR="white" CLASS="TableRowColor">
  236. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  237. <CODE>&nbsp;void</CODE></FONT></TD>
  238. <TD><CODE><B><A HREF="../../../../com/sun/mail/dsn/DeliveryStatus.html#writeTo(java.io.OutputStream)">writeTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;os)</CODE>
  239.  
  240. <BR>
  241. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  242. </TR>
  243. </TABLE>
  244. &nbsp;<A NAME="methods_inherited_from_class_com.sun.mail.dsn.Report"><!-- --></A>
  245. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  246. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  247. <TH ALIGN="left"><B>Methods inherited from class com.sun.mail.dsn.<A HREF="../../../../com/sun/mail/dsn/Report.html" title="class in com.sun.mail.dsn">Report</A></B></TH>
  248. </TR>
  249. <TR BGCOLOR="white" CLASS="TableRowColor">
  250. <TD><CODE><A HREF="../../../../com/sun/mail/dsn/Report.html#getType()">getType</A></CODE></TD>
  251. </TR>
  252. </TABLE>
  253. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  254. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  255. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  256. <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>
  257. </TR>
  258. <TR BGCOLOR="white" CLASS="TableRowColor">
  259. <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#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>
  260. </TR>
  261. </TABLE>
  262. &nbsp;
  263. <P>
  264.  
  265. <!-- ============ FIELD DETAIL =========== -->
  266.  
  267. <A NAME="field_detail"><!-- --></A>
  268. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  269. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  270. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  271. <B>Field Detail</B></FONT></TH>
  272. </TR>
  273. </TABLE>
  274.  
  275. <A NAME="messageDSN"><!-- --></A><H3>
  276. messageDSN</H3>
  277. <PRE>
  278. protected <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A> <B>messageDSN</B></PRE>
  279. <DL>
  280. <DD>The DSN fields for the message.
  281. <P>
  282. <DL>
  283. </DL>
  284. </DL>
  285. <HR>
  286.  
  287. <A NAME="recipientDSN"><!-- --></A><H3>
  288. recipientDSN</H3>
  289. <PRE>
  290. protected <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>[] <B>recipientDSN</B></PRE>
  291. <DL>
  292. <DD>The DSN fields for each recipient.
  293. <P>
  294. <DL>
  295. </DL>
  296. </DL>
  297.  
  298. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  299.  
  300. <A NAME="constructor_detail"><!-- --></A>
  301. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  302. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  303. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  304. <B>Constructor Detail</B></FONT></TH>
  305. </TR>
  306. </TABLE>
  307.  
  308. <A NAME="DeliveryStatus()"><!-- --></A><H3>
  309. DeliveryStatus</H3>
  310. <PRE>
  311. public <B>DeliveryStatus</B>()
  312.                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
  313. <DL>
  314. <DD>Construct a delivery status notification with no content.
  315. <P>
  316. <DL>
  317.  
  318. <DT><B>Throws:</B>
  319. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  320. </DL>
  321. <HR>
  322.  
  323. <A NAME="DeliveryStatus(java.io.InputStream)"><!-- --></A><H3>
  324. DeliveryStatus</H3>
  325. <PRE>
  326. public <B>DeliveryStatus</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)
  327.                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A>,
  328.                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
  329. <DL>
  330. <DD>Construct a delivery status notification by parsing the
  331.  supplied input stream.
  332. <P>
  333. <DL>
  334.  
  335. <DT><B>Throws:</B>
  336. <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
  337. <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
  338. </DL>
  339.  
  340. <!-- ============ METHOD DETAIL ========== -->
  341.  
  342. <A NAME="method_detail"><!-- --></A>
  343. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  344. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  345. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  346. <B>Method Detail</B></FONT></TH>
  347. </TR>
  348. </TABLE>
  349.  
  350. <A NAME="getMessageDSN()"><!-- --></A><H3>
  351. getMessageDSN</H3>
  352. <PRE>
  353. public <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A> <B>getMessageDSN</B>()</PRE>
  354. <DL>
  355. <DD>Return all the per-message fields in the delivery status notification.
  356.  The fields are defined as:
  357.  
  358.  <pre>
  359.     per-message-fields =
  360.           [ original-envelope-id-field CRLF ]
  361.           reporting-mta-field CRLF
  362.           [ dsn-gateway-field CRLF ]
  363.           [ received-from-mta-field CRLF ]
  364.           [ arrival-date-field CRLF ]
  365.           *( extension-field CRLF )
  366.  </pre>
  367. <P>
  368. <DD><DL>
  369. </DL>
  370. </DD>
  371. </DL>
  372. <HR>
  373.  
  374. <A NAME="setMessageDSN(javax.mail.internet.InternetHeaders)"><!-- --></A><H3>
  375. setMessageDSN</H3>
  376. <PRE>
  377. public void <B>setMessageDSN</B>(<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;messageDSN)</PRE>
  378. <DL>
  379. <DD>Set the per-message fields in the delivery status notification.
  380. <P>
  381. <DD><DL>
  382. </DL>
  383. </DD>
  384. </DL>
  385. <HR>
  386.  
  387. <A NAME="getRecipientDSNCount()"><!-- --></A><H3>
  388. getRecipientDSNCount</H3>
  389. <PRE>
  390. public int <B>getRecipientDSNCount</B>()</PRE>
  391. <DL>
  392. <DD>Return the number of recipients for which we have
  393.  per-recipient delivery status notification information.
  394. <P>
  395. <DD><DL>
  396. </DL>
  397. </DD>
  398. </DL>
  399. <HR>
  400.  
  401. <A NAME="getRecipientDSN(int)"><!-- --></A><H3>
  402. getRecipientDSN</H3>
  403. <PRE>
  404. public <A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A> <B>getRecipientDSN</B>(int&nbsp;n)</PRE>
  405. <DL>
  406. <DD>Return the delivery status notification information for
  407.  the specified recipient.
  408. <P>
  409. <DD><DL>
  410. </DL>
  411. </DD>
  412. </DL>
  413. <HR>
  414.  
  415. <A NAME="addRecipientDSN(javax.mail.internet.InternetHeaders)"><!-- --></A><H3>
  416. addRecipientDSN</H3>
  417. <PRE>
  418. public void <B>addRecipientDSN</B>(<A HREF="../../../../javax/mail/internet/InternetHeaders.html" title="class in javax.mail.internet">InternetHeaders</A>&nbsp;h)</PRE>
  419. <DL>
  420. <DD>Add deliver status notification information for another
  421.  recipient.
  422. <P>
  423. <DD><DL>
  424. </DL>
  425. </DD>
  426. </DL>
  427. <HR>
  428.  
  429. <A NAME="writeTo(java.io.OutputStream)"><!-- --></A><H3>
  430. writeTo</H3>
  431. <PRE>
  432. public void <B>writeTo</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;os)
  433.              throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
  434. <DL>
  435. <DD><DL>
  436.  
  437. <DT><B>Throws:</B>
  438. <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
  439. </DD>
  440. </DL>
  441. <HR>
  442.  
  443. <A NAME="toString()"><!-- --></A><H3>
  444. toString</H3>
  445. <PRE>
  446. 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>toString</B>()</PRE>
  447. <DL>
  448. <DD><DL>
  449. <DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
  450. </DD>
  451. <DD><DL>
  452. </DL>
  453. </DD>
  454. </DL>
  455. <!-- ========= END OF CLASS DATA ========= -->
  456. <HR>
  457.  
  458.  
  459. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  460. <A NAME="navbar_bottom"><!-- --></A>
  461. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  462. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  463. <TR>
  464. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  465. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  466. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  467.   <TR ALIGN="center" VALIGN="top">
  468.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  469.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  470.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  471.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DeliveryStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  472.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  473.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  474.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  475.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  476.   </TR>
  477. </TABLE>
  478. </TD>
  479. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  480. </EM>
  481. </TD>
  482. </TR>
  483.  
  484. <TR>
  485. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  486. &nbsp;PREV CLASS&nbsp;
  487. &nbsp;<A HREF="../../../../com/sun/mail/dsn/DispositionNotification.html" title="class in com.sun.mail.dsn"><B>NEXT CLASS</B></A></FONT></TD>
  488. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  489.   <A HREF="../../../../index.html?com/sun/mail/dsn/DeliveryStatus.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  490. &nbsp;<A HREF="DeliveryStatus.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  491. &nbsp;<SCRIPT type="text/javascript">
  492.   <!--
  493.   if(window==top) {
  494.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  495.   }
  496.   //-->
  497. </SCRIPT>
  498. <NOSCRIPT>
  499.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  500. </NOSCRIPT>
  501.  
  502.  
  503. </FONT></TD>
  504. </TR>
  505. <TR>
  506. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  507.   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>
  508. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  509. 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>
  510. </TR>
  511. </TABLE>
  512. <A NAME="skip-navbar_bottom"></A>
  513. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  514.  
  515. <HR>
  516. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  517. </BODY>
  518. </HTML>
  519.