Class ChmLzxBlock
java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmLzxBlock
Decompresses a chm block. Depending on chm block type chooses most relevant
 decompressing method. A chm block type can be as follows: UNDEFINED
 - no action taken, i.e. skipping the block  VERBATIM  ALIGNED_OFFSET
  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. 
- 
Constructor Summary
ConstructorsConstructorDescriptionChmLzxBlock(int blockNumber, byte[] dataSegment, long blockLength, ChmLzxBlock prevBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionintbyte[]byte[]getContent(int start) byte[]getContent(int startOffset, int endOffset) protected intgetState()protected voidprotected voidsetContentLength(int contentLength)  
- 
Constructor Details
- 
ChmLzxBlock
public ChmLzxBlock(int blockNumber, byte[] dataSegment, long blockLength, ChmLzxBlock prevBlock) throws TikaException - Throws:
 TikaException
 
 - 
 - 
Method Details
- 
getContentLength
protected int getContentLength() - 
setContentLength
protected void setContentLength(int contentLength)  - 
intelE8Decoding
protected void intelE8Decoding() - 
getContent
public byte[] getContent() - 
getContent
- Throws:
 TikaException
 - 
getContent
- Throws:
 TikaException
 - 
getBlockNumber
public int getBlockNumber() - 
getState
 
 -