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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ChmLzxcResetTable()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]getBlockAddress()Returns block addresseslonggetBlockCount()Gets a block countlonggetBlockLen()Gets a block lengthlonggetCompressedLen()Gets compressed lengthlonggetTableOffset()Gets a table offsetlonggetUncompressedLen()Gets uncompressed lengthlonggetUnknown()Gets unknownlonggetVersion()Returns the versionvoidparse(byte[] data, ChmLzxcResetTable chmLzxcResetTable)Parses chm accessorvoidsetBlockAddress(long[] block_address)Sets block addressesvoidsetBlockCount(long block_count)Sets a block countvoidsetBlockLlen(long block_len)Sets a block lengthvoidsetCompressedLen(long compressed_len)Sets compressed lengthvoidsetTableOffset(long table_offset)Sets a table offsetvoidsetUncompressedLen(long uncompressed_len)Sets uncompressed lengthvoidsetUnknown(long unknown)Sets an unknownvoidsetVersion(long version)Sets the versionStringtoString()
 
- 
- 
- 
Method Detail- 
getBlockAddresspublic long[] getBlockAddress() Returns block addresses- Returns:
- block addresses
 
 - 
setBlockAddresspublic void setBlockAddress(long[] block_address) Sets block addresses- Parameters:
- block_address-
 
 - 
getVersionpublic long getVersion() Returns the version- Returns:
- - long
 
 - 
setVersionpublic void setVersion(long version) Sets the version- Parameters:
- version- - long
 
 - 
getBlockCountpublic long getBlockCount() Gets a block count- Returns:
- - int
 
 - 
setBlockCountpublic void setBlockCount(long block_count) Sets a block count- Parameters:
- block_count- - long
 
 - 
getUnknownpublic long getUnknown() Gets unknown- Returns:
- - long
 
 - 
setUnknownpublic void setUnknown(long unknown) Sets an unknown- Parameters:
- unknown- - long
 
 - 
getTableOffsetpublic long getTableOffset() Gets a table offset- Returns:
- - long
 
 - 
setTableOffsetpublic void setTableOffset(long table_offset) Sets a table offset- Parameters:
- table_offset- - long
 
 - 
getUncompressedLenpublic long getUncompressedLen() Gets uncompressed length- Returns:
- - BigInteger
 
 - 
setUncompressedLenpublic void setUncompressedLen(long uncompressed_len) Sets uncompressed length- Parameters:
- uncompressed_len- -- BigInteger
 
 - 
getCompressedLenpublic long getCompressedLen() Gets compressed length- Returns:
- - BigInteger
 
 - 
setCompressedLenpublic void setCompressedLen(long compressed_len) Sets compressed length- Parameters:
- compressed_len- -- BigInteger
 
 - 
getBlockLenpublic long getBlockLen() Gets a block length- Returns:
- - BigInteger
 
 - 
setBlockLlenpublic void setBlockLlen(long block_len) Sets a block length- Parameters:
- block_len- -- BigInteger
 
 - 
parsepublic void parse(byte[] data, ChmLzxcResetTable chmLzxcResetTable) throws TikaExceptionDescription copied from interface:ChmAccessorParses chm accessor- Specified by:
- parsein interface- ChmAccessor<ChmLzxcResetTable>
- Parameters:
- data- chm file
- Throws:
- TikaException
 
 
- 
 
-