Package org.apache.tika.parser.chm.lzx
Class ChmLzxBlock
java.lang.Object
org.apache.tika.parser.chm.lzx.ChmLzxBlock
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
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) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.byte[]Deprecated.byte[]getContent(int start) Deprecated.byte[]getContent(int startOffset, int endOffset) Deprecated.getState()Deprecated.
-
Constructor Details
-
ChmLzxBlock
public ChmLzxBlock(int blockNumber, byte[] dataSegment, long blockLength, ChmLzxBlock prevBlock) throws TikaException Deprecated.- Throws:
TikaException
-
-
Method Details
-
getContent
public byte[] getContent()Deprecated. -
getContent
Deprecated.- Throws:
TikaException
-
getContent
Deprecated.- Throws:
TikaException
-
getBlockNumber
public int getBlockNumber()Deprecated. -
getState
Deprecated.
-