HtmlEmail.html 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  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>HtmlEmail (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="HtmlEmail (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/HtmlEmail.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/EmailException.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/ImageHtmlEmail.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/HtmlEmail.html" target="_top">Frames</a></li>
  57. <li><a href="HtmlEmail.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 HtmlEmail" class="title">Class HtmlEmail</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><a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">org.apache.commons.mail.Email</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">org.apache.commons.mail.MultiPartEmail</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>org.apache.commons.mail.HtmlEmail</li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. <div class="description">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <dl>
  121. <dt>Direct Known Subclasses:</dt>
  122. <dd><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html" title="class in org.apache.commons.mail">ImageHtmlEmail</a></dd>
  123. </dl>
  124. <hr>
  125. <br>
  126. <pre>public class <span class="typeNameLabel">HtmlEmail</span>
  127. extends <a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></pre>
  128. <div class="block">An HTML multipart email.
  129. <p>This class is used to send HTML formatted email. A text message
  130. can also be set for HTML unaware email clients, such as text-based
  131. email clients.
  132. <p>This class also inherits from <a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail"><code>MultiPartEmail</code></a>, so it is easy to
  133. add attachments to the email.
  134. <p>To send an email in HTML, one should create a <code>HtmlEmail</code>, then
  135. use the <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-"><code>Email.setFrom(String)</code></a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-"><code>Email.addTo(String)</code></a> etc. methods.
  136. The HTML content can be set with the <a href="../../../../org/apache/commons/mail/HtmlEmail.html#setHtmlMsg-java.lang.String-"><code>setHtmlMsg(String)</code></a> method. The
  137. alternative text content can be set with <a href="../../../../org/apache/commons/mail/HtmlEmail.html#setTextMsg-java.lang.String-"><code>setTextMsg(String)</code></a>.
  138. <p>Either the text or HTML can be omitted, in which case the "main"
  139. part of the multipart becomes whichever is supplied rather than a
  140. <code>multipart/alternative</code>.
  141. <h3>Embedding Images and Media</h3>
  142. <p>It is also possible to embed URLs, files, or arbitrary
  143. <code>DataSource</code>s directly into the body of the mail:
  144. <pre>
  145. HtmlEmail he = new HtmlEmail();
  146. File img = new File("my/image.gif");
  147. PNGDataSource png = new PNGDataSource(decodedPNGOutputStream); // a custom class
  148. StringBuffer msg = new StringBuffer();
  149. msg.append("&lt;html&gt;&lt;body&gt;");
  150. msg.append("&lt;img src=cid:").append(he.embed(img)).append("&gt;");
  151. msg.append("&lt;img src=cid:").append(he.embed(png)).append("&gt;");
  152. msg.append("&lt;/body&gt;&lt;/html&gt;");
  153. he.setHtmlMsg(msg.toString());
  154. // code to set the other email fields (not shown)
  155. </pre>
  156. <p>Embedded entities are tracked by their name, which for <code>File</code>s is
  157. the filename itself and for <code>URL</code>s is the canonical path. It is
  158. an error to bind the same name to more than one entity, and this class will
  159. attempt to validate that for <code>File</code>s and <code>URL</code>s. When
  160. embedding a <code>DataSource</code>, the code uses the <code>equals()</code>
  161. method defined on the <code>DataSource</code>s to make the determination.</div>
  162. <dl>
  163. <dt><span class="simpleTagLabel">Since:</span></dt>
  164. <dd>1.0</dd>
  165. </dl>
  166. </li>
  167. </ul>
  168. </div>
  169. <div class="summary">
  170. <ul class="blockList">
  171. <li class="blockList">
  172. <!-- =========== FIELD SUMMARY =========== -->
  173. <ul class="blockList">
  174. <li class="blockList"><a name="field.summary">
  175. <!-- -->
  176. </a>
  177. <h3>Field Summary</h3>
  178. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  179. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  180. <tr>
  181. <th class="colFirst" scope="col">Modifier and Type</th>
  182. <th class="colLast" scope="col">Field and Description</th>
  183. </tr>
  184. <tr class="altColor">
  185. <td class="colFirst"><code>static int</code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#CID_LENGTH">CID_LENGTH</a></span></code>
  187. <div class="block">Definition of the length of generated CID's.</div>
  188. </td>
  189. </tr>
  190. <tr class="rowColor">
  191. <td class="colFirst"><code>protected <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>
  192. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#html">html</a></span></code>
  193. <div class="block">Html part of the message.</div>
  194. </td>
  195. </tr>
  196. <tr class="altColor">
  197. <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,org.apache.commons.mail.HtmlEmail.InlineImage&gt;</code></td>
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineEmbeds">inlineEmbeds</a></span></code>
  199. <div class="block">Embedded images Map&lt;String, InlineImage&gt; where the key is the
  200. user-defined image name.</div>
  201. </td>
  202. </tr>
  203. <tr class="rowColor">
  204. <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.commons.mail.HtmlEmail.InlineImage&gt;</code></td>
  205. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineImages">inlineImages</a></span></code>
  206. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  207. <div class="block"><span class="deprecationComment">As of commons-email 1.1, no longer used. Inline embedded
  208. objects are now stored in <a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineEmbeds"><code>inlineEmbeds</code></a>.</span></div>
  209. </div>
  210. </td>
  211. </tr>
  212. <tr class="altColor">
  213. <td class="colFirst"><code>protected <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>
  214. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#text">text</a></span></code>
  215. <div class="block">Text part of the message.</div>
  216. </td>
  217. </tr>
  218. </table>
  219. <ul class="blockList">
  220. <li class="blockList"><a name="fields.inherited.from.class.org.apache.commons.mail.Email">
  221. <!-- -->
  222. </a>
  223. <h3>Fields inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></h3>
  224. <code><a href="../../../../org/apache/commons/mail/Email.html#ATTACHMENTS">ATTACHMENTS</a>, <a href="../../../../org/apache/commons/mail/Email.html#authenticator">authenticator</a>, <a href="../../../../org/apache/commons/mail/Email.html#bccList">bccList</a>, <a href="../../../../org/apache/commons/mail/Email.html#bounceAddress">bounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#ccList">ccList</a>, <a href="../../../../org/apache/commons/mail/Email.html#charset">charset</a>, <a href="../../../../org/apache/commons/mail/Email.html#content">content</a>, <a href="../../../../org/apache/commons/mail/Email.html#CONTENT_TYPE">CONTENT_TYPE</a>, <a href="../../../../org/apache/commons/mail/Email.html#contentType">contentType</a>, <a href="../../../../org/apache/commons/mail/Email.html#debug">debug</a>, <a href="../../../../org/apache/commons/mail/Email.html#EMAIL_BODY">EMAIL_BODY</a>, <a href="../../../../org/apache/commons/mail/Email.html#EMAIL_SUBJECT">EMAIL_SUBJECT</a>, <a href="../../../../org/apache/commons/mail/Email.html#emailBody">emailBody</a>, <a href="../../../../org/apache/commons/mail/Email.html#FILE_SERVER">FILE_SERVER</a>, <a href="../../../../org/apache/commons/mail/Email.html#fromAddress">fromAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#headers">headers</a>, <a href="../../../../org/apache/commons/mail/Email.html#hostName">hostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#ISO_8859_1">ISO_8859_1</a>, <a href="../../../../org/apache/commons/mail/Email.html#KOI8_R">KOI8_R</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_DEBUG">MAIL_DEBUG</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_HOST">MAIL_HOST</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_PORT">MAIL_PORT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_AUTH">MAIL_SMTP_AUTH</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_CONNECTIONTIMEOUT">MAIL_SMTP_CONNECTIONTIMEOUT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_FROM">MAIL_SMTP_FROM</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_PASSWORD">MAIL_SMTP_PASSWORD</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_CLASS">MAIL_SMTP_SOCKET_FACTORY_CLASS</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_FALLBACK">MAIL_SMTP_SOCKET_FACTORY_FALLBACK</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_SOCKET_FACTORY_PORT">MAIL_SMTP_SOCKET_FACTORY_PORT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_TIMEOUT">MAIL_SMTP_TIMEOUT</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_SMTP_USER">MAIL_SMTP_USER</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_TRANSPORT_PROTOCOL">MAIL_TRANSPORT_PROTOCOL</a>, <a href="../../../../org/apache/commons/mail/Email.html#MAIL_TRANSPORT_TLS">MAIL_TRANSPORT_TLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#message">message</a>, <a href="../../../../org/apache/commons/mail/Email.html#popBeforeSmtp">popBeforeSmtp</a>, <a href="../../../../org/apache/commons/mail/Email.html#popHost">popHost</a>, <a href="../../../../org/apache/commons/mail/Email.html#popPassword">popPassword</a>, <a href="../../../../org/apache/commons/mail/Email.html#popUsername">popUsername</a>, <a href="../../../../org/apache/commons/mail/Email.html#RECEIVER_EMAIL">RECEIVER_EMAIL</a>, <a href="../../../../org/apache/commons/mail/Email.html#RECEIVER_NAME">RECEIVER_NAME</a>, <a href="../../../../org/apache/commons/mail/Email.html#replyList">replyList</a>, <a href="../../../../org/apache/commons/mail/Email.html#SENDER_EMAIL">SENDER_EMAIL</a>, <a href="../../../../org/apache/commons/mail/Email.html#SENDER_NAME">SENDER_NAME</a>, <a href="../../../../org/apache/commons/mail/Email.html#sentDate">sentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#SMTP">SMTP</a>, <a href="../../../../org/apache/commons/mail/Email.html#smtpPort">smtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#socketConnectionTimeout">socketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#socketTimeout">socketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#ssl">ssl</a>, <a href="../../../../org/apache/commons/mail/Email.html#sslSmtpPort">sslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#subject">subject</a>, <a href="../../../../org/apache/commons/mail/Email.html#TEXT_HTML">TEXT_HTML</a>, <a href="../../../../org/apache/commons/mail/Email.html#TEXT_PLAIN">TEXT_PLAIN</a>, <a href="../../../../org/apache/commons/mail/Email.html#tls">tls</a>, <a href="../../../../org/apache/commons/mail/Email.html#toList">toList</a>, <a href="../../../../org/apache/commons/mail/Email.html#US_ASCII">US_ASCII</a></code></li>
  225. </ul>
  226. </li>
  227. </ul>
  228. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  229. <ul class="blockList">
  230. <li class="blockList"><a name="constructor.summary">
  231. <!-- -->
  232. </a>
  233. <h3>Constructor Summary</h3>
  234. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  235. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  236. <tr>
  237. <th class="colOne" scope="col">Constructor and Description</th>
  238. </tr>
  239. <tr class="altColor">
  240. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#HtmlEmail--">HtmlEmail</a></span>()</code>&nbsp;</td>
  241. </tr>
  242. </table>
  243. </li>
  244. </ul>
  245. <!-- ========== METHOD SUMMARY =========== -->
  246. <ul class="blockList">
  247. <li class="blockList"><a name="method.summary">
  248. <!-- -->
  249. </a>
  250. <h3>Method Summary</h3>
  251. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  252. <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>
  253. <tr>
  254. <th class="colFirst" scope="col">Modifier and Type</th>
  255. <th class="colLast" scope="col">Method and Description</th>
  256. </tr>
  257. <tr id="i0" class="altColor">
  258. <td class="colFirst"><code>void</code></td>
  259. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#buildMimeMessage--">buildMimeMessage</a></span>()</code>
  260. <div class="block">Does the work of actually building the MimeMessage.</div>
  261. </td>
  262. </tr>
  263. <tr id="i1" class="rowColor">
  264. <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>
  265. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-">embed</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</a>&nbsp;dataSource,
  266. <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;name)</code>
  267. <div class="block">Embeds the specified <code>DataSource</code> in the HTML using a
  268. randomly generated Content-ID.</div>
  269. </td>
  270. </tr>
  271. <tr id="i2" class="altColor">
  272. <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>
  273. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-java.lang.String-">embed</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</a>&nbsp;dataSource,
  274. <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;name,
  275. <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;cid)</code>
  276. <div class="block">Embeds the specified <code>DataSource</code> in the HTML using the
  277. specified Content-ID.</div>
  278. </td>
  279. </tr>
  280. <tr id="i3" class="rowColor">
  281. <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>
  282. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-">embed</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
  283. <div class="block">Embeds a file in the HTML.</div>
  284. </td>
  285. </tr>
  286. <tr id="i4" class="altColor">
  287. <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>
  288. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-java.lang.String-">embed</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file,
  289. <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;cid)</code>
  290. <div class="block">Embeds a file in the HTML.</div>
  291. </td>
  292. </tr>
  293. <tr id="i5" class="rowColor">
  294. <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>
  295. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.lang.String-java.lang.String-">embed</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;urlString,
  296. <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;name)</code>
  297. <div class="block">Attempts to parse the specified <code>String</code> as a URL that will
  298. then be embedded in the message.</div>
  299. </td>
  300. </tr>
  301. <tr id="i6" class="altColor">
  302. <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>
  303. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.net.URL-java.lang.String-">embed</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;url,
  304. <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;name)</code>
  305. <div class="block">Embeds an URL in the HTML.</div>
  306. </td>
  307. </tr>
  308. <tr id="i7" class="rowColor">
  309. <td class="colFirst"><code><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></code></td>
  310. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#setHtmlMsg-java.lang.String-">setHtmlMsg</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;aHtml)</code>
  311. <div class="block">Set the HTML content.</div>
  312. </td>
  313. </tr>
  314. <tr id="i8" class="altColor">
  315. <td class="colFirst"><code><a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></code></td>
  316. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#setMsg-java.lang.String-">setMsg</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;msg)</code>
  317. <div class="block">Set the message.</div>
  318. </td>
  319. </tr>
  320. <tr id="i9" class="rowColor">
  321. <td class="colFirst"><code><a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a></code></td>
  322. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/mail/HtmlEmail.html#setTextMsg-java.lang.String-">setTextMsg</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;aText)</code>
  323. <div class="block">Set the text content.</div>
  324. </td>
  325. </tr>
  326. </table>
  327. <ul class="blockList">
  328. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.MultiPartEmail">
  329. <!-- -->
  330. </a>
  331. <h3>Methods inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></h3>
  332. <code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-javax.mail.internet.MimeMultipart-int-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#addPart-java.lang.String-java.lang.String-">addPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-javax.activation.DataSource-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-javax.activation.DataSource-java.lang.String-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-org.apache.commons.mail.EmailAttachment-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.io.File-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.net.URL-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#attach-java.net.URL-java.lang.String-java.lang.String-java.lang.String-">attach</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#createBodyPart--">createBodyPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#createMimeMultipart--">createMimeMultipart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getContainer--">getContainer</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getPrimaryBodyPart--">getPrimaryBodyPart</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#getSubType--">getSubType</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#init--">init</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#isBoolHasAttachments--">isBoolHasAttachments</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#isInitialized--">isInitialized</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setBoolHasAttachments-boolean-">setBoolHasAttachments</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setInitialized-boolean-">setInitialized</a>, <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setSubType-java.lang.String-">setSubType</a></code></li>
  333. </ul>
  334. <ul class="blockList">
  335. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.Email">
  336. <!-- -->
  337. </a>
  338. <h3>Methods inherited from class&nbsp;org.apache.commons.mail.<a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a></h3>
  339. <code><a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String...-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addBcc-java.lang.String-java.lang.String-java.lang.String-">addBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String...-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addCc-java.lang.String-java.lang.String-java.lang.String-">addCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#addHeader-java.lang.String-java.lang.String-">addHeader</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addReplyTo-java.lang.String-java.lang.String-java.lang.String-">addReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String...-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#addTo-java.lang.String-java.lang.String-java.lang.String-">addTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#createMimeMessage-javax.mail.Session-">createMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#getBccAddresses--">getBccAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getBounceAddress--">getBounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#getCcAddresses--">getCcAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getFromAddress--">getFromAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHeader-java.lang.String-">getHeader</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHeaders--">getHeaders</a>, <a href="../../../../org/apache/commons/mail/Email.html#getHostName--">getHostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#getMailSession--">getMailSession</a>, <a href="../../../../org/apache/commons/mail/Email.html#getMimeMessage--">getMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#getReplyToAddresses--">getReplyToAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSentDate--">getSentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSmtpPort--">getSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSocketConnectionTimeout--">getSocketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSocketTimeout--">getSocketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSslSmtpPort--">getSslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#getSubject--">getSubject</a>, <a href="../../../../org/apache/commons/mail/Email.html#getToAddresses--">getToAddresses</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSendPartial--">isSendPartial</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSL--">isSSL</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSLCheckServerIdentity--">isSSLCheckServerIdentity</a>, <a href="../../../../org/apache/commons/mail/Email.html#isSSLOnConnect--">isSSLOnConnect</a>, <a href="../../../../org/apache/commons/mail/Email.html#isStartTLSEnabled--">isStartTLSEnabled</a>, <a href="../../../../org/apache/commons/mail/Email.html#isStartTLSRequired--">isStartTLSRequired</a>, <a href="../../../../org/apache/commons/mail/Email.html#isTLS--">isTLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#send--">send</a>, <a href="../../../../org/apache/commons/mail/Email.html#sendMimeMessage--">sendMimeMessage</a>, <a href="../../../../org/apache/commons/mail/Email.html#setAuthentication-java.lang.String-java.lang.String-">setAuthentication</a>, <a href="../../../../org/apache/commons/mail/Email.html#setAuthenticator-javax.mail.Authenticator-">setAuthenticator</a>, <a href="../../../../org/apache/commons/mail/Email.html#setBcc-java.util.Collection-">setBcc</a>, <a href="../../../../org/apache/commons/mail/Email.html#setBounceAddress-java.lang.String-">setBounceAddress</a>, <a href="../../../../org/apache/commons/mail/Email.html#setCc-java.util.Collection-">setCc</a>, <a href="../../../../org/apache/commons/mail/Email.html#setCharset-java.lang.String-">setCharset</a>, <a href="../../../../org/apache/commons/mail/Email.html#setContent-javax.mail.internet.MimeMultipart-">setContent</a>, <a href="../../../../org/apache/commons/mail/Email.html#setContent-java.lang.Object-java.lang.String-">setContent</a>, <a href="../../../../org/apache/commons/mail/Email.html#setDebug-boolean-">setDebug</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setFrom-java.lang.String-java.lang.String-java.lang.String-">setFrom</a>, <a href="../../../../org/apache/commons/mail/Email.html#setHeaders-java.util.Map-">setHeaders</a>, <a href="../../../../org/apache/commons/mail/Email.html#setHostName-java.lang.String-">setHostName</a>, <a href="../../../../org/apache/commons/mail/Email.html#setMailSession-javax.mail.Session-">setMailSession</a>, <a href="../../../../org/apache/commons/mail/Email.html#setMailSessionFromJNDI-java.lang.String-">setMailSessionFromJNDI</a>, <a href="../../../../org/apache/commons/mail/Email.html#setPopBeforeSmtp-boolean-java.lang.String-java.lang.String-java.lang.String-">setPopBeforeSmtp</a>, <a href="../../../../org/apache/commons/mail/Email.html#setReplyTo-java.util.Collection-">setReplyTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSendPartial-boolean-">setSendPartial</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSentDate-java.util.Date-">setSentDate</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSmtpPort-int-">setSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSocketConnectionTimeout-int-">setSocketConnectionTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSocketTimeout-int-">setSocketTimeout</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSL-boolean-">setSSL</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSLCheckServerIdentity-boolean-">setSSLCheckServerIdentity</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSSLOnConnect-boolean-">setSSLOnConnect</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSslSmtpPort-java.lang.String-">setSslSmtpPort</a>, <a href="../../../../org/apache/commons/mail/Email.html#setStartTLSEnabled-boolean-">setStartTLSEnabled</a>, <a href="../../../../org/apache/commons/mail/Email.html#setStartTLSRequired-boolean-">setStartTLSRequired</a>, <a href="../../../../org/apache/commons/mail/Email.html#setSubject-java.lang.String-">setSubject</a>, <a href="../../../../org/apache/commons/mail/Email.html#setTLS-boolean-">setTLS</a>, <a href="../../../../org/apache/commons/mail/Email.html#setTo-java.util.Collection-">setTo</a>, <a href="../../../../org/apache/commons/mail/Email.html#toInternetAddressArray-java.util.List-">toInternetAddressArray</a>, <a href="../../../../org/apache/commons/mail/Email.html#updateContentType-java.lang.String-">updateContentType</a></code></li>
  340. </ul>
  341. <ul class="blockList">
  342. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  343. <!-- -->
  344. </a>
  345. <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>
  346. <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>
  347. </ul>
  348. </li>
  349. </ul>
  350. </li>
  351. </ul>
  352. </div>
  353. <div class="details">
  354. <ul class="blockList">
  355. <li class="blockList">
  356. <!-- ============ FIELD DETAIL =========== -->
  357. <ul class="blockList">
  358. <li class="blockList"><a name="field.detail">
  359. <!-- -->
  360. </a>
  361. <h3>Field Detail</h3>
  362. <a name="CID_LENGTH">
  363. <!-- -->
  364. </a>
  365. <ul class="blockList">
  366. <li class="blockList">
  367. <h4>CID_LENGTH</h4>
  368. <pre>public static final&nbsp;int CID_LENGTH</pre>
  369. <div class="block">Definition of the length of generated CID's.</div>
  370. <dl>
  371. <dt><span class="seeLabel">See Also:</span></dt>
  372. <dd><a href="../../../../constant-values.html#org.apache.commons.mail.HtmlEmail.CID_LENGTH">Constant Field Values</a></dd>
  373. </dl>
  374. </li>
  375. </ul>
  376. <a name="text">
  377. <!-- -->
  378. </a>
  379. <ul class="blockList">
  380. <li class="blockList">
  381. <h4>text</h4>
  382. <pre>protected&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> text</pre>
  383. <div class="block">Text part of the message. This will be used as alternative text if
  384. the email client does not support HTML messages.</div>
  385. </li>
  386. </ul>
  387. <a name="html">
  388. <!-- -->
  389. </a>
  390. <ul class="blockList">
  391. <li class="blockList">
  392. <h4>html</h4>
  393. <pre>protected&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> html</pre>
  394. <div class="block">Html part of the message.</div>
  395. </li>
  396. </ul>
  397. <a name="inlineImages">
  398. <!-- -->
  399. </a>
  400. <ul class="blockList">
  401. <li class="blockList">
  402. <h4>inlineImages</h4>
  403. <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
  404. protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.commons.mail.HtmlEmail.InlineImage&gt; inlineImages</pre>
  405. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of commons-email 1.1, no longer used. Inline embedded
  406. objects are now stored in <a href="../../../../org/apache/commons/mail/HtmlEmail.html#inlineEmbeds"><code>inlineEmbeds</code></a>.</span></div>
  407. </li>
  408. </ul>
  409. <a name="inlineEmbeds">
  410. <!-- -->
  411. </a>
  412. <ul class="blockListLast">
  413. <li class="blockList">
  414. <h4>inlineEmbeds</h4>
  415. <pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,org.apache.commons.mail.HtmlEmail.InlineImage&gt; inlineEmbeds</pre>
  416. <div class="block">Embedded images Map&lt;String, InlineImage&gt; where the key is the
  417. user-defined image name.</div>
  418. </li>
  419. </ul>
  420. </li>
  421. </ul>
  422. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  423. <ul class="blockList">
  424. <li class="blockList"><a name="constructor.detail">
  425. <!-- -->
  426. </a>
  427. <h3>Constructor Detail</h3>
  428. <a name="HtmlEmail--">
  429. <!-- -->
  430. </a>
  431. <ul class="blockListLast">
  432. <li class="blockList">
  433. <h4>HtmlEmail</h4>
  434. <pre>public&nbsp;HtmlEmail()</pre>
  435. </li>
  436. </ul>
  437. </li>
  438. </ul>
  439. <!-- ============ METHOD DETAIL ========== -->
  440. <ul class="blockList">
  441. <li class="blockList"><a name="method.detail">
  442. <!-- -->
  443. </a>
  444. <h3>Method Detail</h3>
  445. <a name="setTextMsg-java.lang.String-">
  446. <!-- -->
  447. </a>
  448. <ul class="blockList">
  449. <li class="blockList">
  450. <h4>setTextMsg</h4>
  451. <pre>public&nbsp;<a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a>&nbsp;setTextMsg(<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;aText)
  452. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  453. <div class="block">Set the text content.</div>
  454. <dl>
  455. <dt><span class="paramLabel">Parameters:</span></dt>
  456. <dd><code>aText</code> - A String.</dd>
  457. <dt><span class="returnLabel">Returns:</span></dt>
  458. <dd>An HtmlEmail.</dd>
  459. <dt><span class="throwsLabel">Throws:</span></dt>
  460. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - see javax.mail.internet.MimeBodyPart
  461. for definitions</dd>
  462. <dt><span class="simpleTagLabel">Since:</span></dt>
  463. <dd>1.0</dd>
  464. </dl>
  465. </li>
  466. </ul>
  467. <a name="setHtmlMsg-java.lang.String-">
  468. <!-- -->
  469. </a>
  470. <ul class="blockList">
  471. <li class="blockList">
  472. <h4>setHtmlMsg</h4>
  473. <pre>public&nbsp;<a href="../../../../org/apache/commons/mail/HtmlEmail.html" title="class in org.apache.commons.mail">HtmlEmail</a>&nbsp;setHtmlMsg(<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;aHtml)
  474. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  475. <div class="block">Set the HTML content.</div>
  476. <dl>
  477. <dt><span class="paramLabel">Parameters:</span></dt>
  478. <dd><code>aHtml</code> - A String.</dd>
  479. <dt><span class="returnLabel">Returns:</span></dt>
  480. <dd>An HtmlEmail.</dd>
  481. <dt><span class="throwsLabel">Throws:</span></dt>
  482. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - see javax.mail.internet.MimeBodyPart
  483. for definitions</dd>
  484. <dt><span class="simpleTagLabel">Since:</span></dt>
  485. <dd>1.0</dd>
  486. </dl>
  487. </li>
  488. </ul>
  489. <a name="setMsg-java.lang.String-">
  490. <!-- -->
  491. </a>
  492. <ul class="blockList">
  493. <li class="blockList">
  494. <h4>setMsg</h4>
  495. <pre>public&nbsp;<a href="../../../../org/apache/commons/mail/Email.html" title="class in org.apache.commons.mail">Email</a>&nbsp;setMsg(<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;msg)
  496. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  497. <div class="block">Set the message.
  498. <p>This method overrides <a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setMsg-java.lang.String-"><code>MultiPartEmail.setMsg(String)</code></a> in
  499. order to send an HTML message instead of a plain text message in
  500. the mail body. The message is formatted in HTML for the HTML
  501. part of the message; it is left as is in the alternate text
  502. part.</div>
  503. <dl>
  504. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  505. <dd><code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html#setMsg-java.lang.String-">setMsg</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></code></dd>
  506. <dt><span class="paramLabel">Parameters:</span></dt>
  507. <dd><code>msg</code> - the message text to use</dd>
  508. <dt><span class="returnLabel">Returns:</span></dt>
  509. <dd>this <code>HtmlEmail</code></dd>
  510. <dt><span class="throwsLabel">Throws:</span></dt>
  511. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - if msg is null or empty;
  512. see javax.mail.internet.MimeBodyPart for definitions</dd>
  513. <dt><span class="simpleTagLabel">Since:</span></dt>
  514. <dd>1.0</dd>
  515. </dl>
  516. </li>
  517. </ul>
  518. <a name="embed-java.lang.String-java.lang.String-">
  519. <!-- -->
  520. </a>
  521. <ul class="blockList">
  522. <li class="blockList">
  523. <h4>embed</h4>
  524. <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;embed(<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;urlString,
  525. <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;name)
  526. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  527. <div class="block">Attempts to parse the specified <code>String</code> as a URL that will
  528. then be embedded in the message.</div>
  529. <dl>
  530. <dt><span class="paramLabel">Parameters:</span></dt>
  531. <dd><code>urlString</code> - String representation of the URL.</dd>
  532. <dd><code>name</code> - The name that will be set in the filename header field.</dd>
  533. <dt><span class="returnLabel">Returns:</span></dt>
  534. <dd>A String with the Content-ID of the URL.</dd>
  535. <dt><span class="throwsLabel">Throws:</span></dt>
  536. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - when URL supplied is invalid or if <code>name</code> is null
  537. or empty; also see <a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeBodyPart.html?is-external=true" title="class or interface in javax.mail.internet"><code>MimeBodyPart</code></a> for definitions</dd>
  538. <dt><span class="simpleTagLabel">Since:</span></dt>
  539. <dd>1.1</dd>
  540. <dt><span class="seeLabel">See Also:</span></dt>
  541. <dd><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.net.URL-java.lang.String-"><code>embed(URL, String)</code></a></dd>
  542. </dl>
  543. </li>
  544. </ul>
  545. <a name="embed-java.net.URL-java.lang.String-">
  546. <!-- -->
  547. </a>
  548. <ul class="blockList">
  549. <li class="blockList">
  550. <h4>embed</h4>
  551. <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;embed(<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;url,
  552. <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;name)
  553. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  554. <div class="block">Embeds an URL in the HTML.
  555. <p>This method embeds a file located by an URL into
  556. the mail body. It allows, for instance, to add inline images
  557. to the email. Inline files may be referenced with a
  558. <code>cid:xxxxxx</code> URL, where xxxxxx is the Content-ID
  559. returned by the embed function. It is an error to bind the same name
  560. to more than one URL; if the same URL is embedded multiple times, the
  561. same Content-ID is guaranteed to be returned.
  562. <p>While functionally the same as passing <code>URLDataSource</code> to
  563. <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-java.lang.String-"><code>embed(DataSource, String, String)</code></a>, this method attempts
  564. to validate the URL before embedding it in the message and will throw
  565. <code>EmailException</code> if the validation fails. In this case, the
  566. <code>HtmlEmail</code> object will not be changed.
  567. <p>
  568. NOTE: Clients should take care to ensure that different URLs are bound to
  569. different names. This implementation tries to detect this and throw
  570. <code>EmailException</code>. However, it is not guaranteed to catch
  571. all cases, especially when the URL refers to a remote HTTP host that
  572. may be part of a virtual host cluster.</div>
  573. <dl>
  574. <dt><span class="paramLabel">Parameters:</span></dt>
  575. <dd><code>url</code> - The URL of the file.</dd>
  576. <dd><code>name</code> - The name that will be set in the filename header
  577. field.</dd>
  578. <dt><span class="returnLabel">Returns:</span></dt>
  579. <dd>A String with the Content-ID of the file.</dd>
  580. <dt><span class="throwsLabel">Throws:</span></dt>
  581. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - when URL supplied is invalid or if <code>name</code> is null
  582. or empty; also see <a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeBodyPart.html?is-external=true" title="class or interface in javax.mail.internet"><code>MimeBodyPart</code></a> for definitions</dd>
  583. <dt><span class="simpleTagLabel">Since:</span></dt>
  584. <dd>1.0</dd>
  585. </dl>
  586. </li>
  587. </ul>
  588. <a name="embed-java.io.File-">
  589. <!-- -->
  590. </a>
  591. <ul class="blockList">
  592. <li class="blockList">
  593. <h4>embed</h4>
  594. <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;embed(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)
  595. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  596. <div class="block">Embeds a file in the HTML. This implementation delegates to
  597. <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-java.lang.String-"><code>embed(File, String)</code></a>.</div>
  598. <dl>
  599. <dt><span class="paramLabel">Parameters:</span></dt>
  600. <dd><code>file</code> - The <code>File</code> object to embed</dd>
  601. <dt><span class="returnLabel">Returns:</span></dt>
  602. <dd>A String with the Content-ID of the file.</dd>
  603. <dt><span class="throwsLabel">Throws:</span></dt>
  604. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - when the supplied <code>File</code> cannot be
  605. used; also see <a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeBodyPart.html?is-external=true" title="class or interface in javax.mail.internet"><code>MimeBodyPart</code></a> for definitions</dd>
  606. <dt><span class="simpleTagLabel">Since:</span></dt>
  607. <dd>1.1</dd>
  608. <dt><span class="seeLabel">See Also:</span></dt>
  609. <dd><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-java.io.File-java.lang.String-"><code>embed(File, String)</code></a></dd>
  610. </dl>
  611. </li>
  612. </ul>
  613. <a name="embed-java.io.File-java.lang.String-">
  614. <!-- -->
  615. </a>
  616. <ul class="blockList">
  617. <li class="blockList">
  618. <h4>embed</h4>
  619. <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;embed(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file,
  620. <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;cid)
  621. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  622. <div class="block">Embeds a file in the HTML.
  623. <p>This method embeds a file located by an URL into
  624. the mail body. It allows, for instance, to add inline images
  625. to the email. Inline files may be referenced with a
  626. <code>cid:xxxxxx</code> URL, where xxxxxx is the Content-ID
  627. returned by the embed function. Files are bound to their names, which is
  628. the value returned by <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true#getName--" title="class or interface in java.io"><code>File.getName()</code></a>. If the same file
  629. is embedded multiple times, the same CID is guaranteed to be returned.
  630. <p>While functionally the same as passing <code>FileDataSource</code> to
  631. <a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-java.lang.String-"><code>embed(DataSource, String, String)</code></a>, this method attempts
  632. to validate the file before embedding it in the message and will throw
  633. <code>EmailException</code> if the validation fails. In this case, the
  634. <code>HtmlEmail</code> object will not be changed.</div>
  635. <dl>
  636. <dt><span class="paramLabel">Parameters:</span></dt>
  637. <dd><code>file</code> - The <code>File</code> to embed</dd>
  638. <dd><code>cid</code> - the Content-ID to use for the embedded <code>File</code></dd>
  639. <dt><span class="returnLabel">Returns:</span></dt>
  640. <dd>A String with the Content-ID of the file.</dd>
  641. <dt><span class="throwsLabel">Throws:</span></dt>
  642. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - when the supplied <code>File</code> cannot be used
  643. or if the file has already been embedded;
  644. also see <a href="http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeBodyPart.html?is-external=true" title="class or interface in javax.mail.internet"><code>MimeBodyPart</code></a> for definitions</dd>
  645. <dt><span class="simpleTagLabel">Since:</span></dt>
  646. <dd>1.1</dd>
  647. </dl>
  648. </li>
  649. </ul>
  650. <a name="embed-javax.activation.DataSource-java.lang.String-">
  651. <!-- -->
  652. </a>
  653. <ul class="blockList">
  654. <li class="blockList">
  655. <h4>embed</h4>
  656. <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;embed(<a href="http://docs.oracle.com/javase/7/docs/api/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</a>&nbsp;dataSource,
  657. <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;name)
  658. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  659. <div class="block">Embeds the specified <code>DataSource</code> in the HTML using a
  660. randomly generated Content-ID. Returns the generated Content-ID string.</div>
  661. <dl>
  662. <dt><span class="paramLabel">Parameters:</span></dt>
  663. <dd><code>dataSource</code> - the <code>DataSource</code> to embed</dd>
  664. <dd><code>name</code> - the name that will be set in the filename header field</dd>
  665. <dt><span class="returnLabel">Returns:</span></dt>
  666. <dd>the generated Content-ID for this <code>DataSource</code></dd>
  667. <dt><span class="throwsLabel">Throws:</span></dt>
  668. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - if the embedding fails or if <code>name</code> is
  669. null or empty</dd>
  670. <dt><span class="simpleTagLabel">Since:</span></dt>
  671. <dd>1.1</dd>
  672. <dt><span class="seeLabel">See Also:</span></dt>
  673. <dd><a href="../../../../org/apache/commons/mail/HtmlEmail.html#embed-javax.activation.DataSource-java.lang.String-java.lang.String-"><code>embed(DataSource, String, String)</code></a></dd>
  674. </dl>
  675. </li>
  676. </ul>
  677. <a name="embed-javax.activation.DataSource-java.lang.String-java.lang.String-">
  678. <!-- -->
  679. </a>
  680. <ul class="blockList">
  681. <li class="blockList">
  682. <h4>embed</h4>
  683. <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;embed(<a href="http://docs.oracle.com/javase/7/docs/api/javax/activation/DataSource.html?is-external=true" title="class or interface in javax.activation">DataSource</a>&nbsp;dataSource,
  684. <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;name,
  685. <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;cid)
  686. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  687. <div class="block">Embeds the specified <code>DataSource</code> in the HTML using the
  688. specified Content-ID. Returns the specified Content-ID string.</div>
  689. <dl>
  690. <dt><span class="paramLabel">Parameters:</span></dt>
  691. <dd><code>dataSource</code> - the <code>DataSource</code> to embed</dd>
  692. <dd><code>name</code> - the name that will be set in the filename header field</dd>
  693. <dd><code>cid</code> - the Content-ID to use for this <code>DataSource</code></dd>
  694. <dt><span class="returnLabel">Returns:</span></dt>
  695. <dd>the URL encoded Content-ID for this <code>DataSource</code></dd>
  696. <dt><span class="throwsLabel">Throws:</span></dt>
  697. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - if the embedding fails or if <code>name</code> is
  698. null or empty</dd>
  699. <dt><span class="simpleTagLabel">Since:</span></dt>
  700. <dd>1.1</dd>
  701. </dl>
  702. </li>
  703. </ul>
  704. <a name="buildMimeMessage--">
  705. <!-- -->
  706. </a>
  707. <ul class="blockListLast">
  708. <li class="blockList">
  709. <h4>buildMimeMessage</h4>
  710. <pre>public&nbsp;void&nbsp;buildMimeMessage()
  711. throws <a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></pre>
  712. <div class="block">Does the work of actually building the MimeMessage. Please note that
  713. a user rarely calls this method directly and only if he/she is
  714. interested in the sending the underlying MimeMessage without
  715. commons-email.</div>
  716. <dl>
  717. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  718. <dd><code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html#buildMimeMessage--">buildMimeMessage</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/commons/mail/MultiPartEmail.html" title="class in org.apache.commons.mail">MultiPartEmail</a></code></dd>
  719. <dt><span class="throwsLabel">Throws:</span></dt>
  720. <dd><code><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail">EmailException</a></code> - if there was an error.</dd>
  721. <dt><span class="simpleTagLabel">Since:</span></dt>
  722. <dd>1.0</dd>
  723. </dl>
  724. </li>
  725. </ul>
  726. </li>
  727. </ul>
  728. </li>
  729. </ul>
  730. </div>
  731. </div>
  732. <!-- ========= END OF CLASS DATA ========= -->
  733. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  734. <div class="bottomNav"><a name="navbar.bottom">
  735. <!-- -->
  736. </a>
  737. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  738. <a name="navbar.bottom.firstrow">
  739. <!-- -->
  740. </a>
  741. <ul class="navList" title="Navigation">
  742. <li><a href="../../../../overview-summary.html">Overview</a></li>
  743. <li><a href="package-summary.html">Package</a></li>
  744. <li class="navBarCell1Rev">Class</li>
  745. <li><a href="class-use/HtmlEmail.html">Use</a></li>
  746. <li><a href="package-tree.html">Tree</a></li>
  747. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  748. <li><a href="../../../../index-all.html">Index</a></li>
  749. <li><a href="../../../../help-doc.html">Help</a></li>
  750. </ul>
  751. </div>
  752. <div class="subNav">
  753. <ul class="navList">
  754. <li><a href="../../../../org/apache/commons/mail/EmailException.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  755. <li><a href="../../../../org/apache/commons/mail/ImageHtmlEmail.html" title="class in org.apache.commons.mail"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  756. </ul>
  757. <ul class="navList">
  758. <li><a href="../../../../index.html?org/apache/commons/mail/HtmlEmail.html" target="_top">Frames</a></li>
  759. <li><a href="HtmlEmail.html" target="_top">No&nbsp;Frames</a></li>
  760. </ul>
  761. <ul class="navList" id="allclasses_navbar_bottom">
  762. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  763. </ul>
  764. <div>
  765. <script type="text/javascript"><!--
  766. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  767. if(window==top) {
  768. allClassesLink.style.display = "block";
  769. }
  770. else {
  771. allClassesLink.style.display = "none";
  772. }
  773. //-->
  774. </script>
  775. </div>
  776. <div>
  777. <ul class="subNavList">
  778. <li>Summary:&nbsp;</li>
  779. <li>Nested&nbsp;|&nbsp;</li>
  780. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  781. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  782. <li><a href="#method.summary">Method</a></li>
  783. </ul>
  784. <ul class="subNavList">
  785. <li>Detail:&nbsp;</li>
  786. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  787. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  788. <li><a href="#method.detail">Method</a></li>
  789. </ul>
  790. </div>
  791. <a name="skip.navbar.bottom">
  792. <!-- -->
  793. </a></div>
  794. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  795. <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>
  796. </body>
  797. </html>