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:39 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. ContentDisposition (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="ContentDisposition (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/ContentDisposition.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="../../../javax/mail/internet/AddressException.html" title="class in javax.mail.internet"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../../javax/mail/internet/ContentType.html" title="class in javax.mail.internet"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../index.html?javax/mail/internet/ContentDisposition.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="ContentDisposition.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;FIELD&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;FIELD&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. javax.mail.internet</FONT>
  93. <BR>
  94. Class ContentDisposition</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 "><B>javax.mail.internet.ContentDisposition</B>
  98. </PRE>
  99. <HR>
  100. <DL>
  101. <DT><PRE>public class <B>ContentDisposition</B><DT>extends <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></DL>
  102. </PRE>
  103.  
  104. <P>
  105. This class represents a MIME ContentDisposition value. It provides
  106.  methods to parse a ContentDisposition string into individual components
  107.  and to generate a MIME style ContentDisposition string.
  108. <P>
  109.  
  110. <P>
  111. <HR>
  112.  
  113. <P>
  114.  
  115. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  116.  
  117. <A NAME="constructor_summary"><!-- --></A>
  118. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  119. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  120. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  121. <B>Constructor Summary</B></FONT></TH>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#ContentDisposition()">ContentDisposition</A></B>()</CODE>
  125.  
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No-arg Constructor.</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#ContentDisposition(java.lang.String)">ContentDisposition</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;s)</CODE>
  131.  
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor that takes a ContentDisposition string.</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#ContentDisposition(java.lang.String, javax.mail.internet.ParameterList)">ContentDisposition</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;disposition,
  137.                    <A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A>&nbsp;list)</CODE>
  138.  
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;
  144. <!-- ========== METHOD SUMMARY =========== -->
  145.  
  146. <A NAME="method_summary"><!-- --></A>
  147. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  148. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  149. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  150. <B>Method Summary</B></FONT></TH>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  154. <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>
  155. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#getDisposition()">getDisposition</A></B>()</CODE>
  156.  
  157. <BR>
  158. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the disposition value.</TD>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  162. <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>
  163. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#getParameter(java.lang.String)">getParameter</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;name)</CODE>
  164.  
  165. <BR>
  166. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the specified parameter value.</TD>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  170. <CODE>&nbsp;<A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A></CODE></FONT></TD>
  171. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#getParameterList()">getParameterList</A></B>()</CODE>
  172.  
  173. <BR>
  174. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a ParameterList object that holds all the available
  175.  parameters.</TD>
  176. </TR>
  177. <TR BGCOLOR="white" CLASS="TableRowColor">
  178. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  179. <CODE>&nbsp;void</CODE></FONT></TD>
  180. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#setDisposition(java.lang.String)">setDisposition</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;disposition)</CODE>
  181.  
  182. <BR>
  183. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the disposition.</TD>
  184. </TR>
  185. <TR BGCOLOR="white" CLASS="TableRowColor">
  186. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  187. <CODE>&nbsp;void</CODE></FONT></TD>
  188. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#setParameter(java.lang.String, java.lang.String)">setParameter</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;name,
  189.              <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;value)</CODE>
  190.  
  191. <BR>
  192. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the specified parameter.</TD>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  196. <CODE>&nbsp;void</CODE></FONT></TD>
  197. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#setParameterList(javax.mail.internet.ParameterList)">setParameterList</A></B>(<A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A>&nbsp;list)</CODE>
  198.  
  199. <BR>
  200. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new ParameterList.</TD>
  201. </TR>
  202. <TR BGCOLOR="white" CLASS="TableRowColor">
  203. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  204. <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>
  205. <TD><CODE><B><A HREF="../../../javax/mail/internet/ContentDisposition.html#toString()">toString</A></B>()</CODE>
  206.  
  207. <BR>
  208. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve a RFC2045 style string representation of
  209.  this ContentDisposition.</TD>
  210. </TR>
  211. </TABLE>
  212. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  213. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  214. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  215. <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>
  216. </TR>
  217. <TR BGCOLOR="white" CLASS="TableRowColor">
  218. <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>
  219. </TR>
  220. </TABLE>
  221. &nbsp;
  222. <P>
  223.  
  224. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  225.  
  226. <A NAME="constructor_detail"><!-- --></A>
  227. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  228. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  229. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  230. <B>Constructor Detail</B></FONT></TH>
  231. </TR>
  232. </TABLE>
  233.  
  234. <A NAME="ContentDisposition()"><!-- --></A><H3>
  235. ContentDisposition</H3>
  236. <PRE>
  237. public <B>ContentDisposition</B>()</PRE>
  238. <DL>
  239. <DD>No-arg Constructor.
  240. <P>
  241. </DL>
  242. <HR>
  243.  
  244. <A NAME="ContentDisposition(java.lang.String, javax.mail.internet.ParameterList)"><!-- --></A><H3>
  245. ContentDisposition</H3>
  246. <PRE>
  247. public <B>ContentDisposition</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;disposition,
  248.                           <A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A>&nbsp;list)</PRE>
  249. <DL>
  250. <DD>Constructor.
  251. <P>
  252. <DL>
  253. <DT><B>Parameters:</B><DD><CODE>disposition</CODE> - disposition<DD><CODE>list</CODE> - ParameterList<DT><B>Since:</B></DT>
  254.   <DD>JavaMail 1.2</DD>
  255. </DL>
  256. </DL>
  257. <HR>
  258.  
  259. <A NAME="ContentDisposition(java.lang.String)"><!-- --></A><H3>
  260. ContentDisposition</H3>
  261. <PRE>
  262. public <B>ContentDisposition</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;s)
  263.                    throws <A HREF="../../../javax/mail/internet/ParseException.html" title="class in javax.mail.internet">ParseException</A></PRE>
  264. <DL>
  265. <DD>Constructor that takes a ContentDisposition string. The String
  266.  is parsed into its constituents: dispostion and parameters.
  267.  A ParseException is thrown if the parse fails.
  268. <P>
  269. <DL>
  270. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the ContentDisposition string.
  271. <DT><B>Throws:</B>
  272. <DD><CODE><A HREF="../../../javax/mail/internet/ParseException.html" title="class in javax.mail.internet">ParseException</A></CODE> - if the parse fails.<DT><B>Since:</B></DT>
  273.   <DD>JavaMail 1.2</DD>
  274. </DL>
  275. </DL>
  276.  
  277. <!-- ============ METHOD DETAIL ========== -->
  278.  
  279. <A NAME="method_detail"><!-- --></A>
  280. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  281. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  282. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  283. <B>Method Detail</B></FONT></TH>
  284. </TR>
  285. </TABLE>
  286.  
  287. <A NAME="getDisposition()"><!-- --></A><H3>
  288. getDisposition</H3>
  289. <PRE>
  290. 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>getDisposition</B>()</PRE>
  291. <DL>
  292. <DD>Return the disposition value.
  293. <P>
  294. <DD><DL>
  295.  
  296. <DT><B>Returns:</B><DD>the disposition<DT><B>Since:</B></DT>
  297.   <DD>JavaMail 1.2</DD>
  298. </DL>
  299. </DD>
  300. </DL>
  301. <HR>
  302.  
  303. <A NAME="getParameter(java.lang.String)"><!-- --></A><H3>
  304. getParameter</H3>
  305. <PRE>
  306. 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>getParameter</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;name)</PRE>
  307. <DL>
  308. <DD>Return the specified parameter value. Returns <code>null</code>
  309.  if this parameter is absent.
  310. <P>
  311. <DD><DL>
  312.  
  313. <DT><B>Returns:</B><DD>parameter value<DT><B>Since:</B></DT>
  314.   <DD>JavaMail 1.2</DD>
  315. </DL>
  316. </DD>
  317. </DL>
  318. <HR>
  319.  
  320. <A NAME="getParameterList()"><!-- --></A><H3>
  321. getParameterList</H3>
  322. <PRE>
  323. public <A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A> <B>getParameterList</B>()</PRE>
  324. <DL>
  325. <DD>Return a ParameterList object that holds all the available
  326.  parameters. Returns null if no parameters are available.
  327. <P>
  328. <DD><DL>
  329.  
  330. <DT><B>Returns:</B><DD>ParameterList<DT><B>Since:</B></DT>
  331.   <DD>JavaMail 1.2</DD>
  332. </DL>
  333. </DD>
  334. </DL>
  335. <HR>
  336.  
  337. <A NAME="setDisposition(java.lang.String)"><!-- --></A><H3>
  338. setDisposition</H3>
  339. <PRE>
  340. public void <B>setDisposition</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;disposition)</PRE>
  341. <DL>
  342. <DD>Set the disposition.  Replaces the existing disposition.
  343. <P>
  344. <DD><DL>
  345. <DT><B>Parameters:</B><DD><CODE>disposition</CODE> - the disposition<DT><B>Since:</B></DT>
  346.   <DD>JavaMail 1.2</DD>
  347. </DL>
  348. </DD>
  349. </DL>
  350. <HR>
  351.  
  352. <A NAME="setParameter(java.lang.String, java.lang.String)"><!-- --></A><H3>
  353. setParameter</H3>
  354. <PRE>
  355. public void <B>setParameter</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;name,
  356.                          <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;value)</PRE>
  357. <DL>
  358. <DD>Set the specified parameter. If this parameter already exists,
  359.  it is replaced by this new value.
  360. <P>
  361. <DD><DL>
  362. <DT><B>Parameters:</B><DD><CODE>name</CODE> - parameter name<DD><CODE>value</CODE> - parameter value<DT><B>Since:</B></DT>
  363.   <DD>JavaMail 1.2</DD>
  364. </DL>
  365. </DD>
  366. </DL>
  367. <HR>
  368.  
  369. <A NAME="setParameterList(javax.mail.internet.ParameterList)"><!-- --></A><H3>
  370. setParameterList</H3>
  371. <PRE>
  372. public void <B>setParameterList</B>(<A HREF="../../../javax/mail/internet/ParameterList.html" title="class in javax.mail.internet">ParameterList</A>&nbsp;list)</PRE>
  373. <DL>
  374. <DD>Set a new ParameterList.
  375. <P>
  376. <DD><DL>
  377. <DT><B>Parameters:</B><DD><CODE>list</CODE> - ParameterList<DT><B>Since:</B></DT>
  378.   <DD>JavaMail 1.2</DD>
  379. </DL>
  380. </DD>
  381. </DL>
  382. <HR>
  383.  
  384. <A NAME="toString()"><!-- --></A><H3>
  385. toString</H3>
  386. <PRE>
  387. 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>
  388. <DL>
  389. <DD>Retrieve a RFC2045 style string representation of
  390.  this ContentDisposition. Returns <code>null</code> if
  391.  the conversion failed.
  392. <P>
  393. <DD><DL>
  394. <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>
  395. </DD>
  396. <DD><DL>
  397.  
  398. <DT><B>Returns:</B><DD>RFC2045 style string<DT><B>Since:</B></DT>
  399.   <DD>JavaMail 1.2</DD>
  400. </DL>
  401. </DD>
  402. </DL>
  403. <!-- ========= END OF CLASS DATA ========= -->
  404. <HR>
  405.  
  406.  
  407. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  408. <A NAME="navbar_bottom"><!-- --></A>
  409. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  410. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  411. <TR>
  412. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  413. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  414. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  415.   <TR ALIGN="center" VALIGN="top">
  416.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  417.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  418.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  419.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ContentDisposition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  420.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  421.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  422.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  423.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  424.   </TR>
  425. </TABLE>
  426. </TD>
  427. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  428. </EM>
  429. </TD>
  430. </TR>
  431.  
  432. <TR>
  433. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  434. &nbsp;<A HREF="../../../javax/mail/internet/AddressException.html" title="class in javax.mail.internet"><B>PREV CLASS</B></A>&nbsp;
  435. &nbsp;<A HREF="../../../javax/mail/internet/ContentType.html" title="class in javax.mail.internet"><B>NEXT CLASS</B></A></FONT></TD>
  436. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  437.   <A HREF="../../../index.html?javax/mail/internet/ContentDisposition.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  438. &nbsp;<A HREF="ContentDisposition.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  439. &nbsp;<SCRIPT type="text/javascript">
  440.   <!--
  441.   if(window==top) {
  442.     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  443.   }
  444.   //-->
  445. </SCRIPT>
  446. <NOSCRIPT>
  447.   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  448. </NOSCRIPT>
  449.  
  450.  
  451. </FONT></TD>
  452. </TR>
  453. <TR>
  454. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  455.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  456. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  457. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  458. </TR>
  459. </TABLE>
  460. <A NAME="skip-navbar_bottom"></A>
  461. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  462.  
  463. <HR>
  464. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  465. </BODY>
  466. </HTML>
  467.