Class ChmBlockInfo
- java.lang.Object
- 
- org.apache.tika.parser.microsoft.chm.ChmBlockInfo
 
- 
 public class ChmBlockInfo extends Object 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChmBlockInfogetChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd)Deprecated.static ChmBlockInfogetChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo)intgetEndBlock()Returns the end block indexintgetEndOffset()Returns the end offset indexintgetIniBlock()Returns an initial block indexintgetStartBlock()Returns the start block indexintgetStartOffset()Returns the start offset indexstatic voidmain(String[] args)StringtoString()Returns textual representation of ChmBlockInfo
 
- 
- 
- 
Method Detail- 
getChmBlockInfoInstance@Deprecated public static ChmBlockInfo getChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd) throws ChmParsingException Deprecated.- Throws:
- ChmParsingException
 
 - 
getChmBlockInfoInstancepublic static ChmBlockInfo getChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) throws ChmParsingException - Throws:
- ChmParsingException
 
 - 
mainpublic static void main(String[] args) 
 - 
toStringpublic String toString() Returns textual representation of ChmBlockInfo
 - 
getIniBlockpublic int getIniBlock() Returns an initial block index- Returns:
- int
 
 - 
getStartBlockpublic int getStartBlock() Returns the start block index- Returns:
- int
 
 - 
getEndBlockpublic int getEndBlock() Returns the end block index- Returns:
- - int
 
 - 
getStartOffsetpublic int getStartOffset() Returns the start offset index- Returns:
- - int
 
 - 
getEndOffsetpublic int getEndOffset() Returns the end offset index- Returns:
- - int
 
 
- 
 
-