EmailAttachment.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>EmailAttachment (Apache Commons Email 1.5 API)</title>
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="EmailAttachment (Apache Commons Email 1.5 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/EmailAttachment.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../../index-all.html">Index</a></li>
  47. <li><a href="../../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/apache/commons/mail/EmailConstants.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/apache/commons/mail/EmailAttachment.html" target="_top">Frames</a></li>
  57. <li><a href="EmailAttachment.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.apache.commons.mail</div>
  96. <h2 title="Class EmailAttachment" class="title">Class EmailAttachment</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>org.apache.commons.mail.EmailAttachment</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <hr>
  111. <br>
  112. <pre>public class <span class="typeNameLabel">EmailAttachment</span>
  113. extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
  114. <div class="block">This class models an email attachment. Used by MultiPartEmail.</div>
  115. <dl>
  116. <dt><span class="simpleTagLabel">Since:</span></dt>
  117. <dd>1.0</dd>
  118. </dl>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="summary">
  123. <ul class="blockList">
  124. <li class="blockList">
  125. <!-- =========== FIELD SUMMARY =========== -->
  126. <ul class="blockList">
  127. <li class="blockList"><a name="field.summary">
  128. <!-- -->
  129. </a>
  130. <h3>Field Summary</h3>
  131. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  132. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  133. <tr>
  134. <th class="colFirst" scope="col">Modifier and Type</th>
  135. <th class="colLast" scope="col">Field and Description</th>
  136. </tr>
  137. <tr class="altColor">
  138. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  139. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#ATTACHMENT">ATTACHMENT</a></span></code>
  140. <div class="block">Definition of the part being an attachment.</div>
  141. </td>
  142. </tr>
  143. <tr class="rowColor">
  144. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  145. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#INLINE">INLINE</a></span></code>
  146. <div class="block">Definition of the part being inline.</div>
  147. </td>
  148. </tr>
  149. </table>
  150. </li>
  151. </ul>
  152. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  153. <ul class="blockList">
  154. <li class="blockList"><a name="constructor.summary">
  155. <!-- -->
  156. </a>
  157. <h3>Constructor Summary</h3>
  158. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  159. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  160. <tr>
  161. <th class="colOne" scope="col">Constructor and Description</th>
  162. </tr>
  163. <tr class="altColor">
  164. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#EmailAttachment--">EmailAttachment</a></span>()</code>&nbsp;</td>
  165. </tr>
  166. </table>
  167. </li>
  168. </ul>
  169. <!-- ========== METHOD SUMMARY =========== -->
  170. <ul class="blockList">
  171. <li class="blockList"><a name="method.summary">
  172. <!-- -->
  173. </a>
  174. <h3>Method Summary</h3>
  175. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  176. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  177. <tr>
  178. <th class="colFirst" scope="col">Modifier and Type</th>
  179. <th class="colLast" scope="col">Method and Description</th>
  180. </tr>
  181. <tr id="i0" class="altColor">
  182. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  183. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#getDescription--">getDescription</a></span>()</code>
  184. <div class="block">Get the description.</div>
  185. </td>
  186. </tr>
  187. <tr id="i1" class="rowColor">
  188. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  189. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#getDisposition--">getDisposition</a></span>()</code>
  190. <div class="block">Get the disposition.</div>
  191. </td>
  192. </tr>
  193. <tr id="i2" class="altColor">
  194. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  195. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#getName--">getName</a></span>()</code>
  196. <div class="block">Get the name.</div>
  197. </td>
  198. </tr>
  199. <tr id="i3" class="rowColor">
  200. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  201. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#getPath--">getPath</a></span>()</code>
  202. <div class="block">Get the path.</div>
  203. </td>
  204. </tr>
  205. <tr id="i4" class="altColor">
  206. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a></code></td>
  207. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#getURL--">getURL</a></span>()</code>
  208. <div class="block">Get the URL.</div>
  209. </td>
  210. </tr>
  211. <tr id="i5" class="rowColor">
  212. <td class="colFirst"><code>void</code></td>
  213. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#setDescription-java.lang.String-">setDescription</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;desc)</code>
  214. <div class="block">Set the description.</div>
  215. </td>
  216. </tr>
  217. <tr id="i6" class="altColor">
  218. <td class="colFirst"><code>void</code></td>
  219. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#setDisposition-java.lang.String-">setDisposition</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aDisposition)</code>
  220. <div class="block">Set the disposition.</div>
  221. </td>
  222. </tr>
  223. <tr id="i7" class="rowColor">
  224. <td class="colFirst"><code>void</code></td>
  225. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#setName-java.lang.String-">setName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aName)</code>
  226. <div class="block">Set the name.</div>
  227. </td>
  228. </tr>
  229. <tr id="i8" class="altColor">
  230. <td class="colFirst"><code>void</code></td>
  231. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#setPath-java.lang.String-">setPath</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aPath)</code>
  232. <div class="block">Set the path to the attachment.</div>
  233. </td>
  234. </tr>
  235. <tr id="i9" class="rowColor">
  236. <td class="colFirst"><code>void</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/EmailAttachment.html#setURL-java.net.URL-">setURL</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;aUrl)</code>
  238. <div class="block">Set the URL.</div>
  239. </td>
  240. </tr>
  241. </table>
  242. <ul class="blockList">
  243. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  244. <!-- -->
  245. </a>
  246. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  247. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/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://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  248. </ul>
  249. </li>
  250. </ul>
  251. </li>
  252. </ul>
  253. </div>
  254. <div class="details">
  255. <ul class="blockList">
  256. <li class="blockList">
  257. <!-- ============ FIELD DETAIL =========== -->
  258. <ul class="blockList">
  259. <li class="blockList"><a name="field.detail">
  260. <!-- -->
  261. </a>
  262. <h3>Field Detail</h3>
  263. <a name="ATTACHMENT">
  264. <!-- -->
  265. </a>
  266. <ul class="blockList">
  267. <li class="blockList">
  268. <h4>ATTACHMENT</h4>
  269. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ATTACHMENT</pre>
  270. <div class="block">Definition of the part being an attachment.</div>
  271. <dl>
  272. <dt><span class="seeLabel">See Also:</span></dt>
  273. <dd><a href="../../../../constant-values.html#org.apache.commons.mail.EmailAttachment.ATTACHMENT">Constant Field Values</a></dd>
  274. </dl>
  275. </li>
  276. </ul>
  277. <a name="INLINE">
  278. <!-- -->
  279. </a>
  280. <ul class="blockListLast">
  281. <li class="blockList">
  282. <h4>INLINE</h4>
  283. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> INLINE</pre>
  284. <div class="block">Definition of the part being inline.</div>
  285. <dl>
  286. <dt><span class="seeLabel">See Also:</span></dt>
  287. <dd><a href="../../../../constant-values.html#org.apache.commons.mail.EmailAttachment.INLINE">Constant Field Values</a></dd>
  288. </dl>
  289. </li>
  290. </ul>
  291. </li>
  292. </ul>
  293. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  294. <ul class="blockList">
  295. <li class="blockList"><a name="constructor.detail">
  296. <!-- -->
  297. </a>
  298. <h3>Constructor Detail</h3>
  299. <a name="EmailAttachment--">
  300. <!-- -->
  301. </a>
  302. <ul class="blockListLast">
  303. <li class="blockList">
  304. <h4>EmailAttachment</h4>
  305. <pre>public&nbsp;EmailAttachment()</pre>
  306. </li>
  307. </ul>
  308. </li>
  309. </ul>
  310. <!-- ============ METHOD DETAIL ========== -->
  311. <ul class="blockList">
  312. <li class="blockList"><a name="method.detail">
  313. <!-- -->
  314. </a>
  315. <h3>Method Detail</h3>
  316. <a name="getDescription--">
  317. <!-- -->
  318. </a>
  319. <ul class="blockList">
  320. <li class="blockList">
  321. <h4>getDescription</h4>
  322. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDescription()</pre>
  323. <div class="block">Get the description.</div>
  324. <dl>
  325. <dt><span class="returnLabel">Returns:</span></dt>
  326. <dd>A String.</dd>
  327. <dt><span class="simpleTagLabel">Since:</span></dt>
  328. <dd>1.0</dd>
  329. </dl>
  330. </li>
  331. </ul>
  332. <a name="getName--">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>getName</h4>
  338. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
  339. <div class="block">Get the name.</div>
  340. <dl>
  341. <dt><span class="returnLabel">Returns:</span></dt>
  342. <dd>A String.</dd>
  343. <dt><span class="simpleTagLabel">Since:</span></dt>
  344. <dd>1.0</dd>
  345. </dl>
  346. </li>
  347. </ul>
  348. <a name="getPath--">
  349. <!-- -->
  350. </a>
  351. <ul class="blockList">
  352. <li class="blockList">
  353. <h4>getPath</h4>
  354. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPath()</pre>
  355. <div class="block">Get the path.</div>
  356. <dl>
  357. <dt><span class="returnLabel">Returns:</span></dt>
  358. <dd>A String.</dd>
  359. <dt><span class="simpleTagLabel">Since:</span></dt>
  360. <dd>1.0</dd>
  361. </dl>
  362. </li>
  363. </ul>
  364. <a name="getURL--">
  365. <!-- -->
  366. </a>
  367. <ul class="blockList">
  368. <li class="blockList">
  369. <h4>getURL</h4>
  370. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;getURL()</pre>
  371. <div class="block">Get the URL.</div>
  372. <dl>
  373. <dt><span class="returnLabel">Returns:</span></dt>
  374. <dd>A URL.</dd>
  375. <dt><span class="simpleTagLabel">Since:</span></dt>
  376. <dd>1.0</dd>
  377. </dl>
  378. </li>
  379. </ul>
  380. <a name="getDisposition--">
  381. <!-- -->
  382. </a>
  383. <ul class="blockList">
  384. <li class="blockList">
  385. <h4>getDisposition</h4>
  386. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDisposition()</pre>
  387. <div class="block">Get the disposition.</div>
  388. <dl>
  389. <dt><span class="returnLabel">Returns:</span></dt>
  390. <dd>A String.</dd>
  391. <dt><span class="simpleTagLabel">Since:</span></dt>
  392. <dd>1.0</dd>
  393. </dl>
  394. </li>
  395. </ul>
  396. <a name="setDescription-java.lang.String-">
  397. <!-- -->
  398. </a>
  399. <ul class="blockList">
  400. <li class="blockList">
  401. <h4>setDescription</h4>
  402. <pre>public&nbsp;void&nbsp;setDescription(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;desc)</pre>
  403. <div class="block">Set the description.</div>
  404. <dl>
  405. <dt><span class="paramLabel">Parameters:</span></dt>
  406. <dd><code>desc</code> - A String.</dd>
  407. <dt><span class="simpleTagLabel">Since:</span></dt>
  408. <dd>1.0</dd>
  409. </dl>
  410. </li>
  411. </ul>
  412. <a name="setName-java.lang.String-">
  413. <!-- -->
  414. </a>
  415. <ul class="blockList">
  416. <li class="blockList">
  417. <h4>setName</h4>
  418. <pre>public&nbsp;void&nbsp;setName(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aName)</pre>
  419. <div class="block">Set the name.</div>
  420. <dl>
  421. <dt><span class="paramLabel">Parameters:</span></dt>
  422. <dd><code>aName</code> - A String.</dd>
  423. <dt><span class="simpleTagLabel">Since:</span></dt>
  424. <dd>1.0</dd>
  425. </dl>
  426. </li>
  427. </ul>
  428. <a name="setPath-java.lang.String-">
  429. <!-- -->
  430. </a>
  431. <ul class="blockList">
  432. <li class="blockList">
  433. <h4>setPath</h4>
  434. <pre>public&nbsp;void&nbsp;setPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aPath)</pre>
  435. <div class="block">Set the path to the attachment. The path can be absolute or relative
  436. and should include the filename.
  437. <p>
  438. Example: /home/user/images/image.jpg<br>
  439. Example: images/image.jpg</div>
  440. <dl>
  441. <dt><span class="paramLabel">Parameters:</span></dt>
  442. <dd><code>aPath</code> - A String.</dd>
  443. <dt><span class="simpleTagLabel">Since:</span></dt>
  444. <dd>1.0</dd>
  445. </dl>
  446. </li>
  447. </ul>
  448. <a name="setURL-java.net.URL-">
  449. <!-- -->
  450. </a>
  451. <ul class="blockList">
  452. <li class="blockList">
  453. <h4>setURL</h4>
  454. <pre>public&nbsp;void&nbsp;setURL(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;aUrl)</pre>
  455. <div class="block">Set the URL.</div>
  456. <dl>
  457. <dt><span class="paramLabel">Parameters:</span></dt>
  458. <dd><code>aUrl</code> - A URL.</dd>
  459. <dt><span class="simpleTagLabel">Since:</span></dt>
  460. <dd>1.0</dd>
  461. </dl>
  462. </li>
  463. </ul>
  464. <a name="setDisposition-java.lang.String-">
  465. <!-- -->
  466. </a>
  467. <ul class="blockListLast">
  468. <li class="blockList">
  469. <h4>setDisposition</h4>
  470. <pre>public&nbsp;void&nbsp;setDisposition(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;aDisposition)</pre>
  471. <div class="block">Set the disposition.</div>
  472. <dl>
  473. <dt><span class="paramLabel">Parameters:</span></dt>
  474. <dd><code>aDisposition</code> - A String.</dd>
  475. <dt><span class="simpleTagLabel">Since:</span></dt>
  476. <dd>1.0</dd>
  477. </dl>
  478. </li>
  479. </ul>
  480. </li>
  481. </ul>
  482. </li>
  483. </ul>
  484. </div>
  485. </div>
  486. <!-- ========= END OF CLASS DATA ========= -->
  487. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  488. <div class="bottomNav"><a name="navbar.bottom">
  489. <!-- -->
  490. </a>
  491. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  492. <a name="navbar.bottom.firstrow">
  493. <!-- -->
  494. </a>
  495. <ul class="navList" title="Navigation">
  496. <li><a href="../../../../overview-summary.html">Overview</a></li>
  497. <li><a href="package-summary.html">Package</a></li>
  498. <li class="navBarCell1Rev">Class</li>
  499. <li><a href="class-use/EmailAttachment.html">Use</a></li>
  500. <li><a href="package-tree.html">Tree</a></li>
  501. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  502. <li><a href="../../../../index-all.html">Index</a></li>
  503. <li><a href="../../../../help-doc.html">Help</a></li>
  504. </ul>
  505. </div>
  506. <div class="subNav">
  507. <ul class="navList">
  508. <li><a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  509. <li><a href="../../../../org/apache/commons/mail/EmailConstants.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  510. </ul>
  511. <ul class="navList">
  512. <li><a href="../../../../index.html?org/apache/commons/mail/EmailAttachment.html" target="_top">Frames</a></li>
  513. <li><a href="EmailAttachment.html" target="_top">No&nbsp;Frames</a></li>
  514. </ul>
  515. <ul class="navList" id="allclasses_navbar_bottom">
  516. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  517. </ul>
  518. <div>
  519. <script type="text/javascript"><!--
  520. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  521. if(window==top) {
  522. allClassesLink.style.display = "block";
  523. }
  524. else {
  525. allClassesLink.style.display = "none";
  526. }
  527. //-->
  528. </script>
  529. </div>
  530. <div>
  531. <ul class="subNavList">
  532. <li>Summary:&nbsp;</li>
  533. <li>Nested&nbsp;|&nbsp;</li>
  534. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  535. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  536. <li><a href="#method.summary">Method</a></li>
  537. </ul>
  538. <ul class="subNavList">
  539. <li>Detail:&nbsp;</li>
  540. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  541. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  542. <li><a href="#method.detail">Method</a></li>
  543. </ul>
  544. </div>
  545. <a name="skip.navbar.bottom">
  546. <!-- -->
  547. </a></div>
  548. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  549. <p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  550. </body>
  551. </html>