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 ChmBlockInfo
getChmBlockInfoInstance
(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd) Deprecated.static ChmBlockInfo
getChmBlockInfoInstance
(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) int
Returns the end block indexint
Returns the end offset indexint
Returns an initial block indexint
Returns the start block indexint
Returns the start offset indexstatic void
toString()
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
-