DataSourceBaseResolver.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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>DataSourceBaseResolver (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="DataSourceBaseResolver (Apache Commons Email 1.5 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":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/DataSourceBaseResolver.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>Prev&nbsp;Class</li>
  53. <li><a href="../../../../../org/apache/commons/mail/resolver/DataSourceClassPathResolver.html" title="class in org.apache.commons.mail.resolver"><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/resolver/DataSourceBaseResolver.html" target="_top">Frames</a></li>
  57. <li><a href="DataSourceBaseResolver.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>Field&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>Field&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.resolver</div>
  96. <h2 title="Class DataSourceBaseResolver" class="title">Class DataSourceBaseResolver</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.resolver.DataSourceBaseResolver</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <dl>
  111. <dt>All Implemented Interfaces:</dt>
  112. <dd><a href="../../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a></dd>
  113. </dl>
  114. <dl>
  115. <dt>Direct Known Subclasses:</dt>
  116. <dd><a href="../../../../../org/apache/commons/mail/resolver/DataSourceClassPathResolver.html" title="class in org.apache.commons.mail.resolver">DataSourceClassPathResolver</a>, <a href="../../../../../org/apache/commons/mail/resolver/DataSourceCompositeResolver.html" title="class in org.apache.commons.mail.resolver">DataSourceCompositeResolver</a>, <a href="../../../../../org/apache/commons/mail/resolver/DataSourceFileResolver.html" title="class in org.apache.commons.mail.resolver">DataSourceFileResolver</a>, <a href="../../../../../org/apache/commons/mail/resolver/DataSourceUrlResolver.html" title="class in org.apache.commons.mail.resolver">DataSourceUrlResolver</a></dd>
  117. </dl>
  118. <hr>
  119. <br>
  120. <pre>public abstract class <span class="typeNameLabel">DataSourceBaseResolver</span>
  121. 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>
  122. implements <a href="../../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a></pre>
  123. <div class="block">Base class for various resolvers.</div>
  124. <dl>
  125. <dt><span class="simpleTagLabel">Since:</span></dt>
  126. <dd>1.3</dd>
  127. </dl>
  128. </li>
  129. </ul>
  130. </div>
  131. <div class="summary">
  132. <ul class="blockList">
  133. <li class="blockList">
  134. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  135. <ul class="blockList">
  136. <li class="blockList"><a name="constructor.summary">
  137. <!-- -->
  138. </a>
  139. <h3>Constructor Summary</h3>
  140. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  141. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  142. <tr>
  143. <th class="colOne" scope="col">Constructor and Description</th>
  144. </tr>
  145. <tr class="altColor">
  146. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#DataSourceBaseResolver--">DataSourceBaseResolver</a></span>()</code>
  147. <div class="block">Constructor.</div>
  148. </td>
  149. </tr>
  150. <tr class="rowColor">
  151. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#DataSourceBaseResolver-boolean-">DataSourceBaseResolver</a></span>(boolean&nbsp;lenient)</code>
  152. <div class="block">Constructor.</div>
  153. </td>
  154. </tr>
  155. </table>
  156. </li>
  157. </ul>
  158. <!-- ========== METHOD SUMMARY =========== -->
  159. <ul class="blockList">
  160. <li class="blockList"><a name="method.summary">
  161. <!-- -->
  162. </a>
  163. <h3>Method Summary</h3>
  164. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  165. <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>
  166. <tr>
  167. <th class="colFirst" scope="col">Modifier and Type</th>
  168. <th class="colLast" scope="col">Method and Description</th>
  169. </tr>
  170. <tr id="i0" class="altColor">
  171. <td class="colFirst"><code>protected boolean</code></td>
  172. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#isCid-java.lang.String-">isCid</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;resourceLocation)</code>
  173. <div class="block">Is this a content id?</div>
  174. </td>
  175. </tr>
  176. <tr id="i1" class="rowColor">
  177. <td class="colFirst"><code>protected boolean</code></td>
  178. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#isFileUrl-java.lang.String-">isFileUrl</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)</code>
  179. <div class="block">Is this a file URL?</div>
  180. </td>
  181. </tr>
  182. <tr id="i2" class="altColor">
  183. <td class="colFirst"><code>protected boolean</code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#isHttpUrl-java.lang.String-">isHttpUrl</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)</code>
  185. <div class="block">Is this a HTTP/HTTPS URL?</div>
  186. </td>
  187. </tr>
  188. <tr id="i3" class="rowColor">
  189. <td class="colFirst"><code>boolean</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/mail/resolver/DataSourceBaseResolver.html#isLenient--">isLenient</a></span>()</code>
  191. <div class="block">Shall we ignore resources not found or throw an exception?</div>
  192. </td>
  193. </tr>
  194. </table>
  195. <ul class="blockList">
  196. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  197. <!-- -->
  198. </a>
  199. <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>
  200. <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>
  201. </ul>
  202. <ul class="blockList">
  203. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.mail.DataSourceResolver">
  204. <!-- -->
  205. </a>
  206. <h3>Methods inherited from interface&nbsp;org.apache.commons.mail.<a href="../../../../../org/apache/commons/mail/DataSourceResolver.html" title="interface in org.apache.commons.mail">DataSourceResolver</a></h3>
  207. <code><a href="../../../../../org/apache/commons/mail/DataSourceResolver.html#resolve-java.lang.String-">resolve</a>, <a href="../../../../../org/apache/commons/mail/DataSourceResolver.html#resolve-java.lang.String-boolean-">resolve</a></code></li>
  208. </ul>
  209. </li>
  210. </ul>
  211. </li>
  212. </ul>
  213. </div>
  214. <div class="details">
  215. <ul class="blockList">
  216. <li class="blockList">
  217. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  218. <ul class="blockList">
  219. <li class="blockList"><a name="constructor.detail">
  220. <!-- -->
  221. </a>
  222. <h3>Constructor Detail</h3>
  223. <a name="DataSourceBaseResolver--">
  224. <!-- -->
  225. </a>
  226. <ul class="blockList">
  227. <li class="blockList">
  228. <h4>DataSourceBaseResolver</h4>
  229. <pre>public&nbsp;DataSourceBaseResolver()</pre>
  230. <div class="block">Constructor.</div>
  231. </li>
  232. </ul>
  233. <a name="DataSourceBaseResolver-boolean-">
  234. <!-- -->
  235. </a>
  236. <ul class="blockListLast">
  237. <li class="blockList">
  238. <h4>DataSourceBaseResolver</h4>
  239. <pre>public&nbsp;DataSourceBaseResolver(boolean&nbsp;lenient)</pre>
  240. <div class="block">Constructor.</div>
  241. <dl>
  242. <dt><span class="paramLabel">Parameters:</span></dt>
  243. <dd><code>lenient</code> - shall we ignore resources not found or throw an exception?</dd>
  244. </dl>
  245. </li>
  246. </ul>
  247. </li>
  248. </ul>
  249. <!-- ============ METHOD DETAIL ========== -->
  250. <ul class="blockList">
  251. <li class="blockList"><a name="method.detail">
  252. <!-- -->
  253. </a>
  254. <h3>Method Detail</h3>
  255. <a name="isLenient--">
  256. <!-- -->
  257. </a>
  258. <ul class="blockList">
  259. <li class="blockList">
  260. <h4>isLenient</h4>
  261. <pre>public&nbsp;boolean&nbsp;isLenient()</pre>
  262. <div class="block">Shall we ignore resources not found or throw an exception?</div>
  263. <dl>
  264. <dt><span class="returnLabel">Returns:</span></dt>
  265. <dd>the lenient flag</dd>
  266. </dl>
  267. </li>
  268. </ul>
  269. <a name="isCid-java.lang.String-">
  270. <!-- -->
  271. </a>
  272. <ul class="blockList">
  273. <li class="blockList">
  274. <h4>isCid</h4>
  275. <pre>protected&nbsp;boolean&nbsp;isCid(<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;resourceLocation)</pre>
  276. <div class="block">Is this a content id?</div>
  277. <dl>
  278. <dt><span class="paramLabel">Parameters:</span></dt>
  279. <dd><code>resourceLocation</code> - the resource location</dd>
  280. <dt><span class="returnLabel">Returns:</span></dt>
  281. <dd>true if it is a CID</dd>
  282. </dl>
  283. </li>
  284. </ul>
  285. <a name="isFileUrl-java.lang.String-">
  286. <!-- -->
  287. </a>
  288. <ul class="blockList">
  289. <li class="blockList">
  290. <h4>isFileUrl</h4>
  291. <pre>protected&nbsp;boolean&nbsp;isFileUrl(<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)</pre>
  292. <div class="block">Is this a file URL?</div>
  293. <dl>
  294. <dt><span class="paramLabel">Parameters:</span></dt>
  295. <dd><code>urlString</code> - the URL string</dd>
  296. <dt><span class="returnLabel">Returns:</span></dt>
  297. <dd>true if it is a file URL</dd>
  298. </dl>
  299. </li>
  300. </ul>
  301. <a name="isHttpUrl-java.lang.String-">
  302. <!-- -->
  303. </a>
  304. <ul class="blockListLast">
  305. <li class="blockList">
  306. <h4>isHttpUrl</h4>
  307. <pre>protected&nbsp;boolean&nbsp;isHttpUrl(<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)</pre>
  308. <div class="block">Is this a HTTP/HTTPS URL?</div>
  309. <dl>
  310. <dt><span class="paramLabel">Parameters:</span></dt>
  311. <dd><code>urlString</code> - the URL string</dd>
  312. <dt><span class="returnLabel">Returns:</span></dt>
  313. <dd>true if it is a HTTP/HTTPS URL</dd>
  314. </dl>
  315. </li>
  316. </ul>
  317. </li>
  318. </ul>
  319. </li>
  320. </ul>
  321. </div>
  322. </div>
  323. <!-- ========= END OF CLASS DATA ========= -->
  324. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  325. <div class="bottomNav"><a name="navbar.bottom">
  326. <!-- -->
  327. </a>
  328. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  329. <a name="navbar.bottom.firstrow">
  330. <!-- -->
  331. </a>
  332. <ul class="navList" title="Navigation">
  333. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  334. <li><a href="package-summary.html">Package</a></li>
  335. <li class="navBarCell1Rev">Class</li>
  336. <li><a href="class-use/DataSourceBaseResolver.html">Use</a></li>
  337. <li><a href="package-tree.html">Tree</a></li>
  338. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  339. <li><a href="../../../../../index-all.html">Index</a></li>
  340. <li><a href="../../../../../help-doc.html">Help</a></li>
  341. </ul>
  342. </div>
  343. <div class="subNav">
  344. <ul class="navList">
  345. <li>Prev&nbsp;Class</li>
  346. <li><a href="../../../../../org/apache/commons/mail/resolver/DataSourceClassPathResolver.html" title="class in org.apache.commons.mail.resolver"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  347. </ul>
  348. <ul class="navList">
  349. <li><a href="../../../../../index.html?org/apache/commons/mail/resolver/DataSourceBaseResolver.html" target="_top">Frames</a></li>
  350. <li><a href="DataSourceBaseResolver.html" target="_top">No&nbsp;Frames</a></li>
  351. </ul>
  352. <ul class="navList" id="allclasses_navbar_bottom">
  353. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  354. </ul>
  355. <div>
  356. <script type="text/javascript"><!--
  357. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  358. if(window==top) {
  359. allClassesLink.style.display = "block";
  360. }
  361. else {
  362. allClassesLink.style.display = "none";
  363. }
  364. //-->
  365. </script>
  366. </div>
  367. <div>
  368. <ul class="subNavList">
  369. <li>Summary:&nbsp;</li>
  370. <li>Nested&nbsp;|&nbsp;</li>
  371. <li>Field&nbsp;|&nbsp;</li>
  372. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  373. <li><a href="#method.summary">Method</a></li>
  374. </ul>
  375. <ul class="subNavList">
  376. <li>Detail:&nbsp;</li>
  377. <li>Field&nbsp;|&nbsp;</li>
  378. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  379. <li><a href="#method.detail">Method</a></li>
  380. </ul>
  381. </div>
  382. <a name="skip.navbar.bottom">
  383. <!-- -->
  384. </a></div>
  385. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  386. <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>
  387. </body>
  388. </html>