ReversedLinesFileReader.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  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>ReversedLinesFileReader (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="ReversedLinesFileReader (Apache Commons IO 2.6 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":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/ReversedLinesFileReader.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/io/input/ReaderInputStream.html" title="class in org.apache.commons.io.input"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../../org/apache/commons/io/input/SwappedDataInputStream.html" title="class in org.apache.commons.io.input"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../../index.html?org/apache/commons/io/input/ReversedLinesFileReader.html" target="_top">Frames</a></li>
  57. <li><a href="ReversedLinesFileReader.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.io.input</div>
  96. <h2 title="Class ReversedLinesFileReader" class="title">Class ReversedLinesFileReader</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.io.input.ReversedLinesFileReader</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="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
  113. </dl>
  114. <hr>
  115. <br>
  116. <pre>public class <span class="typeNameLabel">ReversedLinesFileReader</span>
  117. 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>
  118. implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre>
  119. <div class="block">Reads lines in a file reversely (similar to a BufferedReader, but starting at
  120. the last line). Useful for e.g. searching in log files.</div>
  121. <dl>
  122. <dt><span class="simpleTagLabel">Since:</span></dt>
  123. <dd>2.2</dd>
  124. </dl>
  125. </li>
  126. </ul>
  127. </div>
  128. <div class="summary">
  129. <ul class="blockList">
  130. <li class="blockList">
  131. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  132. <ul class="blockList">
  133. <li class="blockList"><a name="constructor.summary">
  134. <!-- -->
  135. </a>
  136. <h3>Constructor Summary</h3>
  137. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  138. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  139. <tr>
  140. <th class="colOne" scope="col">Constructor and Description</th>
  141. </tr>
  142. <tr class="altColor">
  143. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-">ReversedLinesFileReader</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>
  144. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  145. <div class="block"><span class="deprecationComment">2.5 use <a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-java.nio.charset.Charset-"><code>ReversedLinesFileReader(File, Charset)</code></a> instead</span></div>
  146. </div>
  147. </td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-java.nio.charset.Charset-">ReversedLinesFileReader</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,
  151. <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)</code>
  152. <div class="block">Creates a ReversedLinesFileReader with default block size of 4KB and the
  153. specified encoding.</div>
  154. </td>
  155. </tr>
  156. <tr class="altColor">
  157. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-int-java.nio.charset.Charset-">ReversedLinesFileReader</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,
  158. int&nbsp;blockSize,
  159. <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;encoding)</code>
  160. <div class="block">Creates a ReversedLinesFileReader with the given block size and encoding.</div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-int-java.lang.String-">ReversedLinesFileReader</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,
  165. int&nbsp;blockSize,
  166. <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;encoding)</code>
  167. <div class="block">Creates a ReversedLinesFileReader with the given block size and encoding.</div>
  168. </td>
  169. </tr>
  170. </table>
  171. </li>
  172. </ul>
  173. <!-- ========== METHOD SUMMARY =========== -->
  174. <ul class="blockList">
  175. <li class="blockList"><a name="method.summary">
  176. <!-- -->
  177. </a>
  178. <h3>Method Summary</h3>
  179. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  180. <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>
  181. <tr>
  182. <th class="colFirst" scope="col">Modifier and Type</th>
  183. <th class="colLast" scope="col">Method and Description</th>
  184. </tr>
  185. <tr id="i0" class="altColor">
  186. <td class="colFirst"><code>void</code></td>
  187. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#close--">close</a></span>()</code>
  188. <div class="block">Closes underlying resources.</div>
  189. </td>
  190. </tr>
  191. <tr id="i1" class="rowColor">
  192. <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>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#readLine--">readLine</a></span>()</code>
  194. <div class="block">Returns the lines of the file from bottom to top.</div>
  195. </td>
  196. </tr>
  197. </table>
  198. <ul class="blockList">
  199. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  200. <!-- -->
  201. </a>
  202. <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>
  203. <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>
  204. </ul>
  205. </li>
  206. </ul>
  207. </li>
  208. </ul>
  209. </div>
  210. <div class="details">
  211. <ul class="blockList">
  212. <li class="blockList">
  213. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  214. <ul class="blockList">
  215. <li class="blockList"><a name="constructor.detail">
  216. <!-- -->
  217. </a>
  218. <h3>Constructor Detail</h3>
  219. <a name="ReversedLinesFileReader-java.io.File-">
  220. <!-- -->
  221. </a>
  222. <ul class="blockList">
  223. <li class="blockList">
  224. <h4>ReversedLinesFileReader</h4>
  225. <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>
  226. public&nbsp;ReversedLinesFileReader(<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)
  227. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  228. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">2.5 use <a href="../../../../../org/apache/commons/io/input/ReversedLinesFileReader.html#ReversedLinesFileReader-java.io.File-java.nio.charset.Charset-"><code>ReversedLinesFileReader(File, Charset)</code></a> instead</span></div>
  229. <div class="block">Creates a ReversedLinesFileReader with default block size of 4KB and the
  230. platform's default encoding.</div>
  231. <dl>
  232. <dt><span class="paramLabel">Parameters:</span></dt>
  233. <dd><code>file</code> - the file to be read</dd>
  234. <dt><span class="throwsLabel">Throws:</span></dt>
  235. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  236. </dl>
  237. </li>
  238. </ul>
  239. <a name="ReversedLinesFileReader-java.io.File-java.nio.charset.Charset-">
  240. <!-- -->
  241. </a>
  242. <ul class="blockList">
  243. <li class="blockList">
  244. <h4>ReversedLinesFileReader</h4>
  245. <pre>public&nbsp;ReversedLinesFileReader(<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,
  246. <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset)
  247. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  248. <div class="block">Creates a ReversedLinesFileReader with default block size of 4KB and the
  249. specified encoding.</div>
  250. <dl>
  251. <dt><span class="paramLabel">Parameters:</span></dt>
  252. <dd><code>file</code> - the file to be read</dd>
  253. <dd><code>charset</code> - the encoding to use</dd>
  254. <dt><span class="throwsLabel">Throws:</span></dt>
  255. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  256. <dt><span class="simpleTagLabel">Since:</span></dt>
  257. <dd>2.5</dd>
  258. </dl>
  259. </li>
  260. </ul>
  261. <a name="ReversedLinesFileReader-java.io.File-int-java.nio.charset.Charset-">
  262. <!-- -->
  263. </a>
  264. <ul class="blockList">
  265. <li class="blockList">
  266. <h4>ReversedLinesFileReader</h4>
  267. <pre>public&nbsp;ReversedLinesFileReader(<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,
  268. int&nbsp;blockSize,
  269. <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;encoding)
  270. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  271. <div class="block">Creates a ReversedLinesFileReader with the given block size and encoding.</div>
  272. <dl>
  273. <dt><span class="paramLabel">Parameters:</span></dt>
  274. <dd><code>file</code> - the file to be read</dd>
  275. <dd><code>blockSize</code> - size of the internal buffer (for ideal performance this should
  276. match with the block size of the underlying file system).</dd>
  277. <dd><code>encoding</code> - the encoding of the file</dd>
  278. <dt><span class="throwsLabel">Throws:</span></dt>
  279. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  280. <dt><span class="simpleTagLabel">Since:</span></dt>
  281. <dd>2.3</dd>
  282. </dl>
  283. </li>
  284. </ul>
  285. <a name="ReversedLinesFileReader-java.io.File-int-java.lang.String-">
  286. <!-- -->
  287. </a>
  288. <ul class="blockListLast">
  289. <li class="blockList">
  290. <h4>ReversedLinesFileReader</h4>
  291. <pre>public&nbsp;ReversedLinesFileReader(<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,
  292. int&nbsp;blockSize,
  293. <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;encoding)
  294. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  295. <div class="block">Creates a ReversedLinesFileReader with the given block size and encoding.</div>
  296. <dl>
  297. <dt><span class="paramLabel">Parameters:</span></dt>
  298. <dd><code>file</code> - the file to be read</dd>
  299. <dd><code>blockSize</code> - size of the internal buffer (for ideal performance this should
  300. match with the block size of the underlying file system).</dd>
  301. <dd><code>encoding</code> - the encoding of the file</dd>
  302. <dt><span class="throwsLabel">Throws:</span></dt>
  303. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  304. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/nio/charset/UnsupportedCharsetException.html?is-external=true" title="class or interface in java.nio.charset">UnsupportedCharsetException</a></code> - thrown instead of <a href="http://docs.oracle.com/javase/7/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io"><code>UnsupportedEncodingException</code></a> in
  305. version 2.2 if the encoding is not supported.</dd>
  306. </dl>
  307. </li>
  308. </ul>
  309. </li>
  310. </ul>
  311. <!-- ============ METHOD DETAIL ========== -->
  312. <ul class="blockList">
  313. <li class="blockList"><a name="method.detail">
  314. <!-- -->
  315. </a>
  316. <h3>Method Detail</h3>
  317. <a name="readLine--">
  318. <!-- -->
  319. </a>
  320. <ul class="blockList">
  321. <li class="blockList">
  322. <h4>readLine</h4>
  323. <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;readLine()
  324. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  325. <div class="block">Returns the lines of the file from bottom to top.</div>
  326. <dl>
  327. <dt><span class="returnLabel">Returns:</span></dt>
  328. <dd>the next line or null if the start of the file is reached</dd>
  329. <dt><span class="throwsLabel">Throws:</span></dt>
  330. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  331. </dl>
  332. </li>
  333. </ul>
  334. <a name="close--">
  335. <!-- -->
  336. </a>
  337. <ul class="blockListLast">
  338. <li class="blockList">
  339. <h4>close</h4>
  340. <pre>public&nbsp;void&nbsp;close()
  341. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  342. <div class="block">Closes underlying resources.</div>
  343. <dl>
  344. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  345. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
  346. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  347. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
  348. <dt><span class="throwsLabel">Throws:</span></dt>
  349. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if an I/O error occurs</dd>
  350. </dl>
  351. </li>
  352. </ul>
  353. </li>
  354. </ul>
  355. </li>
  356. </ul>
  357. </div>
  358. </div>
  359. <!-- ========= END OF CLASS DATA ========= -->
  360. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  361. <div class="bottomNav"><a name="navbar.bottom">
  362. <!-- -->
  363. </a>
  364. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  365. <a name="navbar.bottom.firstrow">
  366. <!-- -->
  367. </a>
  368. <ul class="navList" title="Navigation">
  369. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  370. <li><a href="package-summary.html">Package</a></li>
  371. <li class="navBarCell1Rev">Class</li>
  372. <li><a href="class-use/ReversedLinesFileReader.html">Use</a></li>
  373. <li><a href="package-tree.html">Tree</a></li>
  374. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  375. <li><a href="../../../../../index-all.html">Index</a></li>
  376. <li><a href="../../../../../help-doc.html">Help</a></li>
  377. </ul>
  378. </div>
  379. <div class="subNav">
  380. <ul class="navList">
  381. <li><a href="../../../../../org/apache/commons/io/input/ReaderInputStream.html" title="class in org.apache.commons.io.input"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  382. <li><a href="../../../../../org/apache/commons/io/input/SwappedDataInputStream.html" title="class in org.apache.commons.io.input"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  383. </ul>
  384. <ul class="navList">
  385. <li><a href="../../../../../index.html?org/apache/commons/io/input/ReversedLinesFileReader.html" target="_top">Frames</a></li>
  386. <li><a href="ReversedLinesFileReader.html" target="_top">No&nbsp;Frames</a></li>
  387. </ul>
  388. <ul class="navList" id="allclasses_navbar_bottom">
  389. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  390. </ul>
  391. <div>
  392. <script type="text/javascript"><!--
  393. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  394. if(window==top) {
  395. allClassesLink.style.display = "block";
  396. }
  397. else {
  398. allClassesLink.style.display = "none";
  399. }
  400. //-->
  401. </script>
  402. </div>
  403. <div>
  404. <ul class="subNavList">
  405. <li>Summary:&nbsp;</li>
  406. <li>Nested&nbsp;|&nbsp;</li>
  407. <li>Field&nbsp;|&nbsp;</li>
  408. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  409. <li><a href="#method.summary">Method</a></li>
  410. </ul>
  411. <ul class="subNavList">
  412. <li>Detail:&nbsp;</li>
  413. <li>Field&nbsp;|&nbsp;</li>
  414. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  415. <li><a href="#method.detail">Method</a></li>
  416. </ul>
  417. </div>
  418. <a name="skip.navbar.bottom">
  419. <!-- -->
  420. </a></div>
  421. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  422. <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>
  423. </body>
  424. </html>