FileDeleteStrategy.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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=iso-8859-1">
  7. <title>Uses of Class org.apache.commons.io.FileDeleteStrategy (Apache Commons IO 2.6 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="Uses of Class org.apache.commons.io.FileDeleteStrategy (Apache Commons IO 2.6 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  35. <li><a href="../package-summary.html">Package</a></li>
  36. <li><a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">Class</a></li>
  37. <li class="navBarCell1Rev">Use</li>
  38. <li><a href="../package-tree.html">Tree</a></li>
  39. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  40. <li><a href="../../../../../index-all.html">Index</a></li>
  41. <li><a href="../../../../../help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li>Prev</li>
  47. <li>Next</li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="../../../../../index.html?org/apache/commons/io/class-use/FileDeleteStrategy.html" target="_top">Frames</a></li>
  51. <li><a href="FileDeleteStrategy.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <a name="skip.navbar.top">
  69. <!-- -->
  70. </a></div>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <div class="header">
  73. <h2 title="Uses of Class org.apache.commons.io.FileDeleteStrategy" class="title">Uses of Class<br>org.apache.commons.io.FileDeleteStrategy</h2>
  74. </div>
  75. <div class="classUseContainer">
  76. <ul class="blockList">
  77. <li class="blockList">
  78. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
  79. <caption><span>Packages that use <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a></span><span class="tabEnd">&nbsp;</span></caption>
  80. <tr>
  81. <th class="colFirst" scope="col">Package</th>
  82. <th class="colLast" scope="col">Description</th>
  83. </tr>
  84. <tbody>
  85. <tr class="altColor">
  86. <td class="colFirst"><a href="#org.apache.commons.io">org.apache.commons.io</a></td>
  87. <td class="colLast">
  88. <div class="block">
  89. This package defines utility classes for working with streams, readers,
  90. writers and files.</div>
  91. </td>
  92. </tr>
  93. </tbody>
  94. </table>
  95. </li>
  96. <li class="blockList">
  97. <ul class="blockList">
  98. <li class="blockList"><a name="org.apache.commons.io">
  99. <!-- -->
  100. </a>
  101. <h3>Uses of <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a> in <a href="../../../../../org/apache/commons/io/package-summary.html">org.apache.commons.io</a></h3>
  102. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
  103. <caption><span>Fields in <a href="../../../../../org/apache/commons/io/package-summary.html">org.apache.commons.io</a> declared as <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a></span><span class="tabEnd">&nbsp;</span></caption>
  104. <tr>
  105. <th class="colFirst" scope="col">Modifier and Type</th>
  106. <th class="colLast" scope="col">Field and Description</th>
  107. </tr>
  108. <tbody>
  109. <tr class="altColor">
  110. <td class="colFirst"><code>static <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a></code></td>
  111. <td class="colLast"><span class="typeNameLabel">FileDeleteStrategy.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html#FORCE">FORCE</a></span></code>
  112. <div class="block">The singleton instance for forced file deletion, which always deletes,
  113. even if the file represents a non-empty directory.</div>
  114. </td>
  115. </tr>
  116. <tr class="rowColor">
  117. <td class="colFirst"><code>static <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a></code></td>
  118. <td class="colLast"><span class="typeNameLabel">FileDeleteStrategy.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html#NORMAL">NORMAL</a></span></code>
  119. <div class="block">The singleton instance for normal file deletion, which does not permit
  120. the deletion of directories that are not empty.</div>
  121. </td>
  122. </tr>
  123. </tbody>
  124. </table>
  125. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  126. <caption><span>Methods in <a href="../../../../../org/apache/commons/io/package-summary.html">org.apache.commons.io</a> with parameters of type <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a></span><span class="tabEnd">&nbsp;</span></caption>
  127. <tr>
  128. <th class="colFirst" scope="col">Modifier and Type</th>
  129. <th class="colLast" scope="col">Method and Description</th>
  130. </tr>
  131. <tbody>
  132. <tr class="altColor">
  133. <td class="colFirst"><code>static void</code></td>
  134. <td class="colLast"><span class="typeNameLabel">FileCleaner.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileCleaner.html#track-java.io.File-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-">track</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,
  135. <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>&nbsp;marker,
  136. <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a>&nbsp;deleteStrategy)</code>
  137. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  138. <div class="block"><span class="deprecationComment">Use <a href="../../../../../org/apache/commons/io/FileCleaningTracker.html#track-java.io.File-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-"><code>FileCleaningTracker.track(File, Object, FileDeleteStrategy)</code></a>.</span></div>
  139. </div>
  140. </td>
  141. </tr>
  142. <tr class="rowColor">
  143. <td class="colFirst"><code>void</code></td>
  144. <td class="colLast"><span class="typeNameLabel">FileCleaningTracker.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileCleaningTracker.html#track-java.io.File-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-">track</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,
  145. <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>&nbsp;marker,
  146. <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a>&nbsp;deleteStrategy)</code>
  147. <div class="block">Track the specified file, using the provided marker, deleting the file
  148. when the marker instance is garbage collected.</div>
  149. </td>
  150. </tr>
  151. <tr class="altColor">
  152. <td class="colFirst"><code>static void</code></td>
  153. <td class="colLast"><span class="typeNameLabel">FileCleaner.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileCleaner.html#track-java.lang.String-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-">track</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;path,
  154. <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>&nbsp;marker,
  155. <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a>&nbsp;deleteStrategy)</code>
  156. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  157. <div class="block"><span class="deprecationComment">Use <a href="../../../../../org/apache/commons/io/FileCleaningTracker.html#track-java.lang.String-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-"><code>FileCleaningTracker.track(String, Object, FileDeleteStrategy)</code></a>.</span></div>
  158. </div>
  159. </td>
  160. </tr>
  161. <tr class="rowColor">
  162. <td class="colFirst"><code>void</code></td>
  163. <td class="colLast"><span class="typeNameLabel">FileCleaningTracker.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/FileCleaningTracker.html#track-java.lang.String-java.lang.Object-org.apache.commons.io.FileDeleteStrategy-">track</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;path,
  164. <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>&nbsp;marker,
  165. <a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">FileDeleteStrategy</a>&nbsp;deleteStrategy)</code>
  166. <div class="block">Track the specified file, using the provided marker, deleting the file
  167. when the marker instance is garbage collected.</div>
  168. </td>
  169. </tr>
  170. </tbody>
  171. </table>
  172. </li>
  173. </ul>
  174. </li>
  175. </ul>
  176. </div>
  177. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  178. <div class="bottomNav"><a name="navbar.bottom">
  179. <!-- -->
  180. </a>
  181. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  182. <a name="navbar.bottom.firstrow">
  183. <!-- -->
  184. </a>
  185. <ul class="navList" title="Navigation">
  186. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  187. <li><a href="../package-summary.html">Package</a></li>
  188. <li><a href="../../../../../org/apache/commons/io/FileDeleteStrategy.html" title="class in org.apache.commons.io">Class</a></li>
  189. <li class="navBarCell1Rev">Use</li>
  190. <li><a href="../package-tree.html">Tree</a></li>
  191. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  192. <li><a href="../../../../../index-all.html">Index</a></li>
  193. <li><a href="../../../../../help-doc.html">Help</a></li>
  194. </ul>
  195. </div>
  196. <div class="subNav">
  197. <ul class="navList">
  198. <li>Prev</li>
  199. <li>Next</li>
  200. </ul>
  201. <ul class="navList">
  202. <li><a href="../../../../../index.html?org/apache/commons/io/class-use/FileDeleteStrategy.html" target="_top">Frames</a></li>
  203. <li><a href="FileDeleteStrategy.html" target="_top">No&nbsp;Frames</a></li>
  204. </ul>
  205. <ul class="navList" id="allclasses_navbar_bottom">
  206. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  207. </ul>
  208. <div>
  209. <script type="text/javascript"><!--
  210. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  211. if(window==top) {
  212. allClassesLink.style.display = "block";
  213. }
  214. else {
  215. allClassesLink.style.display = "none";
  216. }
  217. //-->
  218. </script>
  219. </div>
  220. <a name="skip.navbar.bottom">
  221. <!-- -->
  222. </a></div>
  223. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  224. <p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  225. </body>
  226. </html>