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 Summary
All 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
-
getChmBlockInfoInstance
public static ChmBlockInfo getChmBlockInfoInstance(DirectoryListingEntry dle, int bytesPerBlock, ChmLzxcControlData clcd, ChmBlockInfo chmBlockInfo) throws ChmParsingException
- Throws:
ChmParsingException
-
main
public static void main(String[] args)
-
toString
public String 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
-
-