Class ChmLzxcResetTable
java.lang.Object
org.apache.tika.parser.microsoft.chm.ChmLzxcResetTable
- All Implemented Interfaces:
Serializable
,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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong[]
Returns block addresseslong
Gets a block countlong
Gets a block lengthlong
Gets compressed lengthlong
Gets a table offsetlong
Gets uncompressed lengthlong
Gets unknownlong
Returns the versionvoid
parse
(byte[] data, ChmLzxcResetTable chmLzxcResetTable) Parses chm accessorvoid
setBlockAddress
(long[] block_address) Sets block addressesvoid
setBlockCount
(long block_count) Sets a block countvoid
setBlockLlen
(long block_len) Sets a block lengthvoid
setCompressedLen
(long compressed_len) Sets compressed lengthvoid
setTableOffset
(long table_offset) Sets a table offsetvoid
setUncompressedLen
(long uncompressed_len) Sets uncompressed lengthvoid
setUnknown
(long unknown) Sets an unknownvoid
setVersion
(long version) Sets the versiontoString()
-
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
-
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
Description copied from interface:ChmAccessor
Parses chm accessor- Specified by:
parse
in interfaceChmAccessor<ChmLzxcResetTable>
- Parameters:
data
- chm file- Throws:
TikaException
-