Class ChmBlockInfo
java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmBlockInfo
A container that contains chm block information such as: i. initial block is
using to reset main tree ii. start block is using for knowing where to start
iii. end block is using for knowing where to stop iv. start offset is using
for knowing where to start reading v. end offset is using for knowing where
to stop reading
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChmBlockInfogetChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd) Deprecated.static ChmBlockInfogetChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) intReturns the end block indexintReturns the end offset indexintReturns an initial block indexintReturns the start block indexintReturns the start offset indexstatic voidtoString()Returns textual representation of ChmBlockInfo
-
Method Details
-
getChmBlockInfoInstance
@Deprecated public static ChmBlockInfo getChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd) throws ChmParsingException Deprecated.- Throws:
ChmParsingException
-
getChmBlockInfoInstance
public static ChmBlockInfo getChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) throws ChmParsingException - Throws:
ChmParsingException
-
main
-
toString
Returns textual representation of ChmBlockInfo -
getIniBlock
public int getIniBlock()Returns an initial block index- Returns:
- int
-
getStartBlock
public int getStartBlock()Returns the start block index- Returns:
- int
-
getEndBlock
public int getEndBlock()Returns the end block index- Returns:
- - int
-
getStartOffset
public int getStartOffset()Returns the start offset index- Returns:
- - int
-
getEndOffset
public int getEndOffset()Returns the end offset index- Returns:
- - int
-