Class ChmBlockInfo

java.lang.Object
org.apache.tika.parser.chm.lzx.ChmBlockInfo

@Deprecated(since="2026-04-30") public class ChmBlockInfo extends Object
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
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 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
      Deprecated.
      Throws:
      ChmParsingException
    • toString

      public String toString()
      Deprecated.
      Returns textual representation of ChmBlockInfo
      Overrides:
      toString in class Object
    • main

      public static void main(String[] args)
      Deprecated.
    • getIniBlock

      public int getIniBlock()
      Deprecated.
      Returns an initial block index
      Returns:
      int
    • getStartBlock

      public int getStartBlock()
      Deprecated.
      Returns the start block index
      Returns:
      int
    • getEndBlock

      public int getEndBlock()
      Deprecated.
      Returns the end block index
      Returns:
      - int
    • getStartOffset

      public int getStartOffset()
      Deprecated.
      Returns the start offset index
      Returns:
      - int
    • getEndOffset

      public int getEndOffset()
      Deprecated.
      Returns the end offset index
      Returns:
      - int