Decompresses a chm block. Depending on chm block type chooses most relevant
decompressing method. A chm block type can be as follows:
UNCOMPRESSED the most simplest In addition there are unknown types (4-7).
Currently relying on previous chm block these types changing according to the
previous chm block type. We need to invent more appropriate way to handle
such types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChmLzxBlock
public ChmLzxBlock(int blockNumber,
byte[] dataSegment,
long blockLength,
ChmLzxBlock prevBlock)
getContentLength
protected int getContentLength()
setContentLength
protected void setContentLength(int contentLength)
intelE8Decoding
protected void intelE8Decoding()
decompressUncompressedBlock
public void decompressUncompressedBlock(int len,
byte[] prevcontent)
decompressAlignedBlock
public void decompressAlignedBlock(int len,
byte[] prevcontent)
throws org.apache.tika.exception.TikaException
- Throws:
org.apache.tika.exception.TikaException
getContent
public byte[] getContent()
getContent
public byte[] getContent(int startOffset,
int endOffset)
getContent
public byte[] getContent(int start)
getBlockNumber
public int getBlockNumber()
getState
public ChmLzxState getState()
main
public static void main(String[] args)
- Parameters:
args -
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.