Class ChmLzxcResetTable

java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmLzxcResetTable
All Implemented Interfaces:
Serializable, ChmAccessor<ChmLzxcResetTable>

public class ChmLzxcResetTable extends Object implements ChmAccessor<ChmLzxcResetTable>
LZXC reset table For ensuring a decompression. Reads the block named "::DataSpace/Storage//Transform/ {7FC28940-9D31-11D0-9B27-00A0C91E9C7C}/InstanceData/ResetTable" .
See Also:
  • Constructor Details

    • ChmLzxcResetTable

      public ChmLzxcResetTable()
  • Method Details

    • getBlockAddress

      public long[] getBlockAddress()
      Returns block addresses
      Returns:
      block addresses
    • setBlockAddress

      public void setBlockAddress(long[] block_address)
      Sets block addresses
      Parameters:
      block_address -
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getVersion

      public long getVersion()
      Returns the version
      Returns:
      - long
    • setVersion

      public void setVersion(long version)
      Sets the version
      Parameters:
      version - - long
    • getBlockCount

      public long getBlockCount()
      Gets a block count
      Returns:
      - int
    • setBlockCount

      public void setBlockCount(long block_count)
      Sets a block count
      Parameters:
      block_count - - long
    • getUnknown

      public long getUnknown()
      Gets unknown
      Returns:
      - long
    • setUnknown

      public void setUnknown(long unknown)
      Sets an unknown
      Parameters:
      unknown - - long
    • getTableOffset

      public long getTableOffset()
      Gets a table offset
      Returns:
      - long
    • setTableOffset

      public void setTableOffset(long table_offset)
      Sets a table offset
      Parameters:
      table_offset - - long
    • getUncompressedLen

      public long getUncompressedLen()
      Gets uncompressed length
      Returns:
      - BigInteger
    • setUncompressedLen

      public void setUncompressedLen(long uncompressed_len)
      Sets uncompressed length
      Parameters:
      uncompressed_len - - BigInteger
    • getCompressedLen

      public long getCompressedLen()
      Gets compressed length
      Returns:
      - BigInteger
    • setCompressedLen

      public void setCompressedLen(long compressed_len)
      Sets compressed length
      Parameters:
      compressed_len - - BigInteger
    • getBlockLen

      public long getBlockLen()
      Gets a block length
      Returns:
      - BigInteger
    • setBlockLlen

      public void setBlockLlen(long block_len)
      Sets a block length
      Parameters:
      block_len - - BigInteger
    • parse

      public void parse(byte[] data, ChmLzxcResetTable chmLzxcResetTable) throws TikaException
      Description copied from interface: ChmAccessor
      Parses chm accessor
      Specified by:
      parse in interface ChmAccessor<ChmLzxcResetTable>
      Parameters:
      data - chm file
      Throws:
      TikaException