Top Fields Constructors Methods
org.tukaani.xz.index

public Class IndexDecoder

extends IndexBase
Class Inheritance
Imports
java.io.IOException, .EOFException, java.util.zip.CheckedInputStream, org.tukaani.xz.common.DecoderUtil, .StreamFlags, org.tukaani.xz.SeekableInputStream, .CorruptedInputException, .MemoryLimitException, .UnsupportedOptionsException

Field Summary

Modifier and TypeField and Description
private long
private long
private final int
private int
private final StreamFlags
private final long
private final long[]
private long
private final long[]
Inherited from org.tukaani.xz.index.IndexBase:
blocksSumindexListSizerecordCountuncompressedSum

Constructor Summary

AccessConstructor and Description
public
IndexDecoder(SeekableInputStream in, StreamFlags streamFooterFlags, long streamPadding, int memoryLimit)

Method Summary

Modifier and TypeMethod and Description
public long
public int
public int
public StreamFlags
public long
public boolean
hasRecord(int blockNumber)

public boolean
public void
locateBlock(BlockInfo info, long target)

public void
setBlockInfo(BlockInfo info, int blockNumber)

public void
Inherited from org.tukaani.xz.index.IndexBase:
addgetIndexPaddingSizegetIndexSizegetStreamSize

Field Detail

compressedOffsetback to summary
private long compressedOffset
largestBlockSizeback to summary
private long largestBlockSize
memoryUsageback to summary
private final int memoryUsage
recordOffsetback to summary
private int recordOffset
streamFlagsback to summary
private final StreamFlags streamFlags
streamPaddingback to summary
private final long streamPadding
uncompressedback to summary
private final long[] uncompressed
uncompressedOffsetback to summary
private long uncompressedOffset
unpaddedback to summary
private final long[] unpadded

Constructor Detail

IndexDecoderback to summary
public IndexDecoder(SeekableInputStream in, StreamFlags streamFooterFlags, long streamPadding, int memoryLimit) throws IOException

Method Detail

getLargestBlockSizeback to summary
public long getLargestBlockSize()
getMemoryUsageback to summary
public int getMemoryUsage()
getRecordCountback to summary
public int getRecordCount()
getStreamFlagsback to summary
public StreamFlags getStreamFlags()
getUncompressedSizeback to summary
public long getUncompressedSize()
hasRecordback to summary
public boolean hasRecord(int blockNumber)
hasUncompressedOffsetback to summary
public boolean hasUncompressedOffset(long pos)
locateBlockback to summary
public void locateBlock(BlockInfo info, long target)
setBlockInfoback to summary
public void setBlockInfo(BlockInfo info, int blockNumber)
setOffsetsback to summary
public void setOffsets(IndexDecoder prev)