This file is indexed.

/usr/share/doc/libxz-java/api/org/tukaani/xz/SeekableXZInputStream.html is in libxz-java-doc 1.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Mon Oct 21 15:46:19 UTC 2013 -->
<title>SeekableXZInputStream (XZ data compression)</title>
<meta name="date" content="2013-10-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="SeekableXZInputStream (XZ data compression)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/tukaani/xz/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/tukaani/xz/SingleXZInputStream.html" title="class in org.tukaani.xz"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/tukaani/xz/SeekableXZInputStream.html" target="_top">Frames</a></li>
<li><a href="SeekableXZInputStream.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.tukaani.xz</div>
<h2 title="Class SeekableXZInputStream" class="title">Class SeekableXZInputStream</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">org.tukaani.xz.SeekableInputStream</a></li>
<li>
<ul class="inheritance">
<li>org.tukaani.xz.SeekableXZInputStream</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">SeekableXZInputStream</span>
extends <a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a></pre>
<div class="block">Decompresses a .xz file in random access mode.
 This supports decompressing concatenated .xz files.
 <p>
 Each .xz file consist of one or more Streams. Each Stream consist of zero
 or more Blocks. Each Stream contains an Index of Streams' Blocks.
 The Indexes from all Streams are loaded in RAM by a constructor of this
 class. A typical .xz file has only one Stream, and parsing its Index will
 need only three or four seeks.
 <p>
 To make random access possible, the data in a .xz file must be splitted
 into multiple Blocks of reasonable size. Decompression can only start at
 a Block boundary. When seeking to an uncompressed position that is not at
 a Block boundary, decompression starts at the beginning of the Block and
 throws away data until the target position is reached. Thus, smaller Blocks
 mean faster seeks to arbitrary uncompressed positions. On the other hand,
 smaller Blocks mean worse compression. So one has to make a compromise
 between random access speed and compression ratio.
 <p>
 Implementation note: This class uses linear search to locate the correct
 Stream from the data structures in RAM. It was the simplest to implement
 and should be fine as long as there aren't too many Streams. The correct
 Block inside a Stream is located using binary search and thus is fast
 even with a huge number of Blocks.

 <h4>Memory usage</h4>
 <p>
 The amount of memory needed for the Indexes is taken into account when
 checking the memory usage limit. Each Stream is calculated to need at
 least 1&nbsp;KiB of memory and each Block 16 bytes of memory, rounded up
 to the next kibibyte. So unless the file has a huge number of Streams or
 Blocks, these don't take significant amount of memory.

 <h4>Creating random-accessible .xz files</h4>
 <p>
 When using <a href="../../../org/tukaani/xz/XZOutputStream.html" title="class in org.tukaani.xz"><code>XZOutputStream</code></a>, a new Block can be started by calling
 its <a href="../../../org/tukaani/xz/XZOutputStream.html#endBlock()"><code>endBlock</code></a> method. If you know
 that the decompressor will only need to seek to certain uncompressed
 positions, it can be a good idea to start a new Block at (some of) these
 positions (and only at these positions to get better compression ratio).
 <p>
 liblzma in XZ Utils supports starting a new Block with
 <code>LZMA_FULL_FLUSH</code>. XZ Utils 5.1.1alpha added threaded
 compression which creates multi-Block .xz files. XZ Utils 5.1.1alpha
 also added the option <code>--block-size=SIZE</code> to the xz command
 line tool. XZ Utils 5.1.2alpha added a partial implementation of
 <code>--block-list=SIZES</code> which allows specifying sizes of
 individual Blocks.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/tukaani/xz/SeekableFileInputStream.html" title="class in org.tukaani.xz"><code>SeekableFileInputStream</code></a>, 
<a href="../../../org/tukaani/xz/XZInputStream.html" title="class in org.tukaani.xz"><code>XZInputStream</code></a>, 
<a href="../../../org/tukaani/xz/XZOutputStream.html" title="class in org.tukaani.xz"><code>XZOutputStream</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#SeekableXZInputStream(org.tukaani.xz.SeekableInputStream)">SeekableXZInputStream</a></strong>(<a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a>&nbsp;in)</code>
<div class="block">Creates a new seekable XZ decompressor without a memory usage limit.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#SeekableXZInputStream(org.tukaani.xz.SeekableInputStream, int)">SeekableXZInputStream</a></strong>(<a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a>&nbsp;in,
                     int&nbsp;memoryLimit)</code>
<div class="block">Creates a new seekable XZ decomporessor with an optional
 memory usage limit.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#available()">available</a></strong>()</code>
<div class="block">Returns the number of uncompressed bytes that can be read
 without blocking.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#close()">close</a></strong>()</code>
<div class="block">Closes the stream and calls <code>in.close()</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockCheckType(int)">getBlockCheckType</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Gets integrity check type (Check ID) of the given Block.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockCompPos(int)">getBlockCompPos</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Gets the position where the given compressed Block starts in
 the underlying .xz file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockCompSize(int)">getBlockCompSize</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Gets the compressed size of the given Block.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockCount()">getBlockCount</a></strong>()</code>
<div class="block">Gets the number of Blocks in the .xz file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockNumber(long)">getBlockNumber</a></strong>(long&nbsp;pos)</code>
<div class="block">Gets the number of the Block that contains the byte at the given
 uncompressed position.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockPos(int)">getBlockPos</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Gets the uncompressed start position of the given Block.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getBlockSize(int)">getBlockSize</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Gets the uncompressed size of the given Block.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getCheckTypes()">getCheckTypes</a></strong>()</code>
<div class="block">Gets the types of integrity checks used in the .xz file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getIndexMemoryUsage()">getIndexMemoryUsage</a></strong>()</code>
<div class="block">Gets the amount of memory in kibibytes (KiB) used by
 the data structures needed to locate the XZ Blocks.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getLargestBlockSize()">getLargestBlockSize</a></strong>()</code>
<div class="block">Gets the uncompressed size of the largest XZ Block in bytes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getStreamCount()">getStreamCount</a></strong>()</code>
<div class="block">Gets the number of Streams in the .xz file.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#length()">length</a></strong>()</code>
<div class="block">Gets the uncompressed size of this input stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#position()">position</a></strong>()</code>
<div class="block">Gets the current uncompressed position in this input stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#read()">read</a></strong>()</code>
<div class="block">Decompresses the next byte from this input stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#read(byte[], int, int)">read</a></strong>(byte[]&nbsp;buf,
    int&nbsp;off,
    int&nbsp;len)</code>
<div class="block">Decompresses into an array of bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#seek(long)">seek</a></strong>(long&nbsp;pos)</code>
<div class="block">Seeks to the specified absolute uncompressed position in the stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#seekToBlock(int)">seekToBlock</a></strong>(int&nbsp;blockNumber)</code>
<div class="block">Seeks to the beginning of the given XZ Block.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.tukaani.xz.SeekableInputStream">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.tukaani.xz.<a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a></h3>
<code><a href="../../../org/tukaani/xz/SeekableInputStream.html#skip(long)">skip</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.io.InputStream">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.io.<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></h3>
<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#markSupported()" title="class or interface in java.io">markSupported</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#read(byte[])" title="class or interface in java.io">read</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#reset()" title="class or interface in java.io">reset</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="SeekableXZInputStream(org.tukaani.xz.SeekableInputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SeekableXZInputStream</h4>
<pre>public&nbsp;SeekableXZInputStream(<a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a>&nbsp;in)
                      throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Creates a new seekable XZ decompressor without a memory usage limit.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - seekable input stream containing one or more
                          XZ Streams; the whole input stream is used</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/XZFormatException.html" title="class in org.tukaani.xz">XZFormatException</a></code> - input is not in the XZ format</dd>
<dd><code><a href="../../../org/tukaani/xz/CorruptedInputException.html" title="class in org.tukaani.xz">CorruptedInputException</a></code> - XZ data is corrupt or truncated</dd>
<dd><code><a href="../../../org/tukaani/xz/UnsupportedOptionsException.html" title="class in org.tukaani.xz">UnsupportedOptionsException</a></code> - XZ headers seem valid but they specify
                          options not supported by this implementation</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/EOFException.html?is-external=true" title="class or interface in java.io">EOFException</a></code> - less than 6 bytes of input was available
                          from <code>in</code>, or (unlikely) the size
                          of the underlying stream got smaller while
                          this was reading from it</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - may be thrown by <code>in</code></dd></dl>
</li>
</ul>
<a name="SeekableXZInputStream(org.tukaani.xz.SeekableInputStream, int)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SeekableXZInputStream</h4>
<pre>public&nbsp;SeekableXZInputStream(<a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a>&nbsp;in,
                     int&nbsp;memoryLimit)
                      throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Creates a new seekable XZ decomporessor with an optional
 memory usage limit.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - seekable input stream containing one or more
                          XZ Streams; the whole input stream is used</dd><dd><code>memoryLimit</code> - memory usage limit in kibibytes (KiB)
                          or <code>-1</code> to impose no
                          memory usage limit</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/XZFormatException.html" title="class in org.tukaani.xz">XZFormatException</a></code> - input is not in the XZ format</dd>
<dd><code><a href="../../../org/tukaani/xz/CorruptedInputException.html" title="class in org.tukaani.xz">CorruptedInputException</a></code> - XZ data is corrupt or truncated</dd>
<dd><code><a href="../../../org/tukaani/xz/UnsupportedOptionsException.html" title="class in org.tukaani.xz">UnsupportedOptionsException</a></code> - XZ headers seem valid but they specify
                          options not supported by this implementation</dd>
<dd><code><a href="../../../org/tukaani/xz/MemoryLimitException.html" title="class in org.tukaani.xz">MemoryLimitException</a></code> - decoded XZ Indexes would need more memory
                          than allowed by the memory usage limit</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/EOFException.html?is-external=true" title="class or interface in java.io">EOFException</a></code> - less than 6 bytes of input was available
                          from <code>in</code>, or (unlikely) the size
                          of the underlying stream got smaller while
                          this was reading from it</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - may be thrown by <code>in</code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getCheckTypes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCheckTypes</h4>
<pre>public&nbsp;int&nbsp;getCheckTypes()</pre>
<div class="block">Gets the types of integrity checks used in the .xz file.
 Multiple checks are possible only if there are multiple
 concatenated XZ Streams.
 <p>
 The returned value has a bit set for every check type that is present.
 For example, if CRC64 and SHA-256 were used, the return value is
 <code>(1&nbsp;&lt;&lt;&nbsp;XZ.CHECK_CRC64)
 | (1&nbsp;&lt;&lt;&nbsp;XZ.CHECK_SHA256)</code>.</div>
</li>
</ul>
<a name="getIndexMemoryUsage()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndexMemoryUsage</h4>
<pre>public&nbsp;int&nbsp;getIndexMemoryUsage()</pre>
<div class="block">Gets the amount of memory in kibibytes (KiB) used by
 the data structures needed to locate the XZ Blocks.
 This is usually useless information but since it is calculated
 for memory usage limit anyway, it is nice to make it available to too.</div>
</li>
</ul>
<a name="getLargestBlockSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLargestBlockSize</h4>
<pre>public&nbsp;long&nbsp;getLargestBlockSize()</pre>
<div class="block">Gets the uncompressed size of the largest XZ Block in bytes.
 This can be useful if you want to check that the file doesn't
 have huge XZ Blocks which could make seeking to arbitrary offsets
 very slow. Note that huge Blocks don't automatically mean that
 seeking would be slow, for example, seeking to the beginning of
 any Block is always fast.</div>
</li>
</ul>
<a name="getStreamCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamCount</h4>
<pre>public&nbsp;int&nbsp;getStreamCount()</pre>
<div class="block">Gets the number of Streams in the .xz file.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockCount</h4>
<pre>public&nbsp;int&nbsp;getBlockCount()</pre>
<div class="block">Gets the number of Blocks in the .xz file.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockPos(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockPos</h4>
<pre>public&nbsp;long&nbsp;getBlockPos(int&nbsp;blockNumber)</pre>
<div class="block">Gets the uncompressed start position of the given Block.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
          <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockSize(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockSize</h4>
<pre>public&nbsp;long&nbsp;getBlockSize(int&nbsp;blockNumber)</pre>
<div class="block">Gets the uncompressed size of the given Block.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
          <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockCompPos(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockCompPos</h4>
<pre>public&nbsp;long&nbsp;getBlockCompPos(int&nbsp;blockNumber)</pre>
<div class="block">Gets the position where the given compressed Block starts in
 the underlying .xz file.
 This information is rarely useful to the users of this class.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
          <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockCompSize(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockCompSize</h4>
<pre>public&nbsp;long&nbsp;getBlockCompSize(int&nbsp;blockNumber)</pre>
<div class="block">Gets the compressed size of the given Block.
 This together with the uncompressed size can be used to calculate
 the compression ratio of the specific Block.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
          <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="getBlockCheckType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockCheckType</h4>
<pre>public&nbsp;int&nbsp;getBlockCheckType(int&nbsp;blockNumber)</pre>
<div class="block">Gets integrity check type (Check ID) of the given Block.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
          <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/tukaani/xz/SeekableXZInputStream.html#getCheckTypes()"><code>getCheckTypes()</code></a></dd></dl>
</li>
</ul>
<a name="getBlockNumber(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockNumber</h4>
<pre>public&nbsp;int&nbsp;getBlockNumber(long&nbsp;pos)</pre>
<div class="block">Gets the number of the Block that contains the byte at the given
 uncompressed position.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if
          <code>pos&nbsp;&lt;&nbsp;0</code> or
          <code>pos&nbsp;&gt;=&nbsp;length()</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
<a name="read()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>public&nbsp;int&nbsp;read()
         throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Decompresses the next byte from this input stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#read()" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the next decompressed byte, or <code>-1</code>
              to indicate the end of the compressed stream</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/CorruptedInputException.html" title="class in org.tukaani.xz">CorruptedInputException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/UnsupportedOptionsException.html" title="class in org.tukaani.xz">UnsupportedOptionsException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/MemoryLimitException.html" title="class in org.tukaani.xz">MemoryLimitException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/XZIOException.html" title="class in org.tukaani.xz">XZIOException</a></code> - if the stream has been closed</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - may be thrown by <code>in</code></dd></dl>
</li>
</ul>
<a name="read(byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>public&nbsp;int&nbsp;read(byte[]&nbsp;buf,
       int&nbsp;off,
       int&nbsp;len)
         throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Decompresses into an array of bytes.
 <p>
 If <code>len</code> is zero, no bytes are read and <code>0</code>
 is returned. Otherwise this will try to decompress <code>len</code>
 bytes of uncompressed data. Less than <code>len</code> bytes may
 be read only in the following situations:
 <ul>
   <li>The end of the compressed data was reached successfully.</li>
   <li>An error is detected after at least one but less than
       <code>len</code> bytes have already been successfully
       decompressed. The next call with non-zero <code>len</code>
       will immediately throw the pending exception.</li>
   <li>An exception is thrown.</li>
 </ul></div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#read(byte[], int, int)" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>buf</code> - target buffer for uncompressed data</dd><dd><code>off</code> - start offset in <code>buf</code></dd><dd><code>len</code> - maximum number of uncompressed bytes to read</dd>
<dt><span class="strong">Returns:</span></dt><dd>number of bytes read, or <code>-1</code> to indicate
              the end of the compressed stream</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/CorruptedInputException.html" title="class in org.tukaani.xz">CorruptedInputException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/UnsupportedOptionsException.html" title="class in org.tukaani.xz">UnsupportedOptionsException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/MemoryLimitException.html" title="class in org.tukaani.xz">MemoryLimitException</a></code></dd>
<dd><code><a href="../../../org/tukaani/xz/XZIOException.html" title="class in org.tukaani.xz">XZIOException</a></code> - if the stream has been closed</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - may be thrown by <code>in</code></dd></dl>
</li>
</ul>
<a name="available()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>available</h4>
<pre>public&nbsp;int&nbsp;available()
              throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Returns the number of uncompressed bytes that can be read
 without blocking. The value is returned with an assumption
 that the compressed input data will be valid. If the compressed
 data is corrupt, <code>CorruptedInputException</code> may get
 thrown before the number of bytes claimed to be available have
 been read from this input stream.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#available()" title="class or interface in java.io">available</a></code>&nbsp;in class&nbsp;<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the number of uncompressed bytes that can be read
              without blocking</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="close()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
           throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Closes the stream and calls <code>in.close()</code>.
 If the stream was already closed, this does nothing.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/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="file:///usr/share/doc/default-jdk-doc/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/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="file:///usr/share/doc/default-jdk-doc/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in class&nbsp;<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if thrown by <code>in.close()</code></dd></dl>
</li>
</ul>
<a name="length()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>public&nbsp;long&nbsp;length()</pre>
<div class="block">Gets the uncompressed size of this input stream. If there are multiple
 XZ Streams, the total uncompressed size of all XZ Streams is returned.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/tukaani/xz/SeekableInputStream.html#length()">length</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a></code></dd>
</dl>
</li>
</ul>
<a name="position()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>position</h4>
<pre>public&nbsp;long&nbsp;position()
              throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Gets the current uncompressed position in this input stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/tukaani/xz/SeekableInputStream.html#position()">position</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/XZIOException.html" title="class in org.tukaani.xz">XZIOException</a></code> - if the stream has been closed</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="seek(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>seek</h4>
<pre>public&nbsp;void&nbsp;seek(long&nbsp;pos)
          throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Seeks to the specified absolute uncompressed position in the stream.
 This only stores the new position, so this function itself is always
 very fast. The actual seek is done when <code>read</code> is called
 to read at least one byte.
 <p>
 Seeking past the end of the stream is possible. In that case
 <code>read</code> will return <code>-1</code> to indicate
 the end of the stream.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/tukaani/xz/SeekableInputStream.html#seek(long)">seek</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz">SeekableInputStream</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - new uncompressed read position</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/XZIOException.html" title="class in org.tukaani.xz">XZIOException</a></code> - if <code>pos</code> is negative, or
                          if stream has been closed</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if <code>pos</code> is negative or if
                          a stream-specific I/O error occurs</dd></dl>
</li>
</ul>
<a name="seekToBlock(int)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>seekToBlock</h4>
<pre>public&nbsp;void&nbsp;seekToBlock(int&nbsp;blockNumber)
                 throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Seeks to the beginning of the given XZ Block.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/tukaani/xz/XZIOException.html" title="class in org.tukaani.xz">XZIOException</a></code> - if <code>blockNumber&nbsp;&lt;&nbsp;0</code> or
              <code>blockNumber&nbsp;&gt;=&nbsp;getBlockCount()</code>,
              or if stream has been closed</dd>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt>
  <dd>1.3</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/tukaani/xz/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/tukaani/xz/SeekableInputStream.html" title="class in org.tukaani.xz"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/tukaani/xz/SingleXZInputStream.html" title="class in org.tukaani.xz"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/tukaani/xz/SeekableXZInputStream.html" target="_top">Frames</a></li>
<li><a href="SeekableXZInputStream.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>