ChangeSet.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  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. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <title>ChangeSet (Apache Commons Compress 1.13 API)</title>
  7. <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
  8. </head>
  9. <body>
  10. <script type="text/javascript"><!--
  11. try {
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="ChangeSet (Apache Commons Compress 1.13 API)";
  14. }
  15. }
  16. catch(err) {
  17. }
  18. //-->
  19. </script>
  20. <noscript>
  21. <div>JavaScript is disabled on your browser.</div>
  22. </noscript>
  23. <!-- ========= START OF TOP NAVBAR ======= -->
  24. <div class="topNav"><a name="navbar_top">
  25. <!-- -->
  26. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  27. <!-- -->
  28. </a>
  29. <ul class="navList" title="Navigation">
  30. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  31. <li><a href="package-summary.html">Package</a></li>
  32. <li class="navBarCell1Rev">Class</li>
  33. <li><a href="class-use/ChangeSet.html">Use</a></li>
  34. <li><a href="package-tree.html">Tree</a></li>
  35. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  36. <li><a href="../../../../../index-all.html">Index</a></li>
  37. <li><a href="../../../../../help-doc.html">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="subNav">
  41. <ul class="navList">
  42. <li>Prev Class</li>
  43. <li><a href="../../../../../org/apache/commons/compress/changes/ChangeSetPerformer.html" title="class in org.apache.commons.compress.changes"><span class="strong">Next Class</span></a></li>
  44. </ul>
  45. <ul class="navList">
  46. <li><a href="../../../../../index.html?org/apache/commons/compress/changes/ChangeSet.html" target="_top">Frames</a></li>
  47. <li><a href="ChangeSet.html" target="_top">No Frames</a></li>
  48. </ul>
  49. <ul class="navList" id="allclasses_navbar_top">
  50. <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
  51. </ul>
  52. <div>
  53. <script type="text/javascript"><!--
  54. allClassesLink = document.getElementById("allclasses_navbar_top");
  55. if(window==top) {
  56. allClassesLink.style.display = "block";
  57. }
  58. else {
  59. allClassesLink.style.display = "none";
  60. }
  61. //-->
  62. </script>
  63. </div>
  64. <div>
  65. <ul class="subNavList">
  66. <li>Summary:&nbsp;</li>
  67. <li>Nested&nbsp;|&nbsp;</li>
  68. <li>Field&nbsp;|&nbsp;</li>
  69. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  70. <li><a href="#method_summary">Method</a></li>
  71. </ul>
  72. <ul class="subNavList">
  73. <li>Detail:&nbsp;</li>
  74. <li>Field&nbsp;|&nbsp;</li>
  75. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  76. <li><a href="#method_detail">Method</a></li>
  77. </ul>
  78. </div>
  79. <a name="skip-navbar_top">
  80. <!-- -->
  81. </a></div>
  82. <!-- ========= END OF TOP NAVBAR ========= -->
  83. <!-- ======== START OF CLASS DATA ======== -->
  84. <div class="header">
  85. <div class="subTitle">org.apache.commons.compress.changes</div>
  86. <h2 title="Class ChangeSet" class="title">Class ChangeSet</h2>
  87. </div>
  88. <div class="contentContainer">
  89. <ul class="inheritance">
  90. <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>
  91. <li>
  92. <ul class="inheritance">
  93. <li>org.apache.commons.compress.changes.ChangeSet</li>
  94. </ul>
  95. </li>
  96. </ul>
  97. <div class="description">
  98. <ul class="blockList">
  99. <li class="blockList">
  100. <hr>
  101. <br>
  102. <pre>public final class <a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.35">ChangeSet</a>
  103. extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
  104. <div class="block">ChangeSet collects and performs changes to an archive.
  105. Putting delete changes in this ChangeSet from multiple threads can
  106. cause conflicts.</div>
  107. <dl><dt><span class="strong">This class is not thread-safe</span></dt>
  108. <dd></dd></dl>
  109. </li>
  110. </ul>
  111. </div>
  112. <div class="summary">
  113. <ul class="blockList">
  114. <li class="blockList">
  115. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  116. <ul class="blockList">
  117. <li class="blockList"><a name="constructor_summary">
  118. <!-- -->
  119. </a>
  120. <h3>Constructor Summary</h3>
  121. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  122. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  123. <tr>
  124. <th class="colOne" scope="col">Constructor and Description</th>
  125. </tr>
  126. <tr class="altColor">
  127. <td class="colOne"><code><strong><a href="../../../../../org/apache/commons/compress/changes/ChangeSet.html#ChangeSet()">ChangeSet</a></strong>()</code>&nbsp;</td>
  128. </tr>
  129. </table>
  130. </li>
  131. </ul>
  132. <!-- ========== METHOD SUMMARY =========== -->
  133. <ul class="blockList">
  134. <li class="blockList"><a name="method_summary">
  135. <!-- -->
  136. </a>
  137. <h3>Method Summary</h3>
  138. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  139. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  140. <tr>
  141. <th class="colFirst" scope="col">Modifier and Type</th>
  142. <th class="colLast" scope="col">Method and Description</th>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colFirst"><code>void</code></td>
  146. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/changes/ChangeSet.html#add(org.apache.commons.compress.archivers.ArchiveEntry,%20java.io.InputStream)">add</a></strong>(<a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a>&nbsp;pEntry,
  147. <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;pInput)</code>
  148. <div class="block">Adds a new archive entry to the archive.</div>
  149. </td>
  150. </tr>
  151. <tr class="rowColor">
  152. <td class="colFirst"><code>void</code></td>
  153. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/changes/ChangeSet.html#add(org.apache.commons.compress.archivers.ArchiveEntry,%20java.io.InputStream,%20boolean)">add</a></strong>(<a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a>&nbsp;pEntry,
  154. <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;pInput,
  155. boolean&nbsp;replace)</code>
  156. <div class="block">Adds a new archive entry to the archive.</div>
  157. </td>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colFirst"><code>void</code></td>
  161. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/changes/ChangeSet.html#delete(java.lang.String)">delete</a></strong>(<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;filename)</code>
  162. <div class="block">Deletes the file with the filename from the archive.</div>
  163. </td>
  164. </tr>
  165. <tr class="rowColor">
  166. <td class="colFirst"><code>void</code></td>
  167. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/changes/ChangeSet.html#deleteDir(java.lang.String)">deleteDir</a></strong>(<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;dirName)</code>
  168. <div class="block">Deletes the directory tree from the archive.</div>
  169. </td>
  170. </tr>
  171. </table>
  172. <ul class="blockList">
  173. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  174. <!-- -->
  175. </a>
  176. <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>
  177. <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,%20int)" title="class or interface in java.lang">wait</a></code></li>
  178. </ul>
  179. </li>
  180. </ul>
  181. </li>
  182. </ul>
  183. </div>
  184. <div class="details">
  185. <ul class="blockList">
  186. <li class="blockList">
  187. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  188. <ul class="blockList">
  189. <li class="blockList"><a name="constructor_detail">
  190. <!-- -->
  191. </a>
  192. <h3>Constructor Detail</h3>
  193. <a name="ChangeSet()">
  194. <!-- -->
  195. </a>
  196. <ul class="blockListLast">
  197. <li class="blockList">
  198. <h4>ChangeSet</h4>
  199. <pre>public&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.35">ChangeSet</a>()</pre>
  200. </li>
  201. </ul>
  202. </li>
  203. </ul>
  204. <!-- ============ METHOD DETAIL ========== -->
  205. <ul class="blockList">
  206. <li class="blockList"><a name="method_detail">
  207. <!-- -->
  208. </a>
  209. <h3>Method Detail</h3>
  210. <a name="delete(java.lang.String)">
  211. <!-- -->
  212. </a>
  213. <ul class="blockList">
  214. <li class="blockList">
  215. <h4>delete</h4>
  216. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.45">delete</a>(<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;filename)</pre>
  217. <div class="block">Deletes the file with the filename from the archive.</div>
  218. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>filename</code> - the filename of the file to delete</dd></dl>
  219. </li>
  220. </ul>
  221. <a name="deleteDir(java.lang.String)">
  222. <!-- -->
  223. </a>
  224. <ul class="blockList">
  225. <li class="blockList">
  226. <h4>deleteDir</h4>
  227. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.55">deleteDir</a>(<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;dirName)</pre>
  228. <div class="block">Deletes the directory tree from the archive.</div>
  229. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>dirName</code> - the name of the directory tree to delete</dd></dl>
  230. </li>
  231. </ul>
  232. <a name="add(org.apache.commons.compress.archivers.ArchiveEntry, java.io.InputStream)">
  233. <!-- -->
  234. </a>
  235. <ul class="blockList">
  236. <li class="blockList">
  237. <h4>add</h4>
  238. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.67">add</a>(<a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a>&nbsp;pEntry,
  239. <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;pInput)</pre>
  240. <div class="block">Adds a new archive entry to the archive.</div>
  241. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>pEntry</code> - the entry to add</dd><dd><code>pInput</code> - the datastream to add</dd></dl>
  242. </li>
  243. </ul>
  244. <a name="add(org.apache.commons.compress.archivers.ArchiveEntry, java.io.InputStream, boolean)">
  245. <!-- -->
  246. </a>
  247. <ul class="blockListLast">
  248. <li class="blockList">
  249. <h4>add</h4>
  250. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/changes/ChangeSet.html#line.83">add</a>(<a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a>&nbsp;pEntry,
  251. <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;pInput,
  252. boolean&nbsp;replace)</pre>
  253. <div class="block">Adds a new archive entry to the archive.
  254. If replace is set to true, this change will replace all other additions
  255. done in this ChangeSet and all existing entries in the original stream.</div>
  256. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>pEntry</code> - the entry to add</dd><dd><code>pInput</code> - the datastream to add</dd><dd><code>replace</code> - indicates the this change should replace existing entries</dd></dl>
  257. </li>
  258. </ul>
  259. </li>
  260. </ul>
  261. </li>
  262. </ul>
  263. </div>
  264. </div>
  265. <!-- ========= END OF CLASS DATA ========= -->
  266. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  267. <div class="bottomNav"><a name="navbar_bottom">
  268. <!-- -->
  269. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  270. <!-- -->
  271. </a>
  272. <ul class="navList" title="Navigation">
  273. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  274. <li><a href="package-summary.html">Package</a></li>
  275. <li class="navBarCell1Rev">Class</li>
  276. <li><a href="class-use/ChangeSet.html">Use</a></li>
  277. <li><a href="package-tree.html">Tree</a></li>
  278. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  279. <li><a href="../../../../../index-all.html">Index</a></li>
  280. <li><a href="../../../../../help-doc.html">Help</a></li>
  281. </ul>
  282. </div>
  283. <div class="subNav">
  284. <ul class="navList">
  285. <li>Prev Class</li>
  286. <li><a href="../../../../../org/apache/commons/compress/changes/ChangeSetPerformer.html" title="class in org.apache.commons.compress.changes"><span class="strong">Next Class</span></a></li>
  287. </ul>
  288. <ul class="navList">
  289. <li><a href="../../../../../index.html?org/apache/commons/compress/changes/ChangeSet.html" target="_top">Frames</a></li>
  290. <li><a href="ChangeSet.html" target="_top">No Frames</a></li>
  291. </ul>
  292. <ul class="navList" id="allclasses_navbar_bottom">
  293. <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
  294. </ul>
  295. <div>
  296. <script type="text/javascript"><!--
  297. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  298. if(window==top) {
  299. allClassesLink.style.display = "block";
  300. }
  301. else {
  302. allClassesLink.style.display = "none";
  303. }
  304. //-->
  305. </script>
  306. </div>
  307. <div>
  308. <ul class="subNavList">
  309. <li>Summary:&nbsp;</li>
  310. <li>Nested&nbsp;|&nbsp;</li>
  311. <li>Field&nbsp;|&nbsp;</li>
  312. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  313. <li><a href="#method_summary">Method</a></li>
  314. </ul>
  315. <ul class="subNavList">
  316. <li>Detail:&nbsp;</li>
  317. <li>Field&nbsp;|&nbsp;</li>
  318. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  319. <li><a href="#method_detail">Method</a></li>
  320. </ul>
  321. </div>
  322. <a name="skip-navbar_bottom">
  323. <!-- -->
  324. </a></div>
  325. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  326. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  327. </body>
  328. </html>