public class ChmItspHeader extends Object implements ChmAccessor<ChmItspHeader>
://translated.by/you/microsoft-s-html-help-chm-format-incomplete/original
/?show-translation-form=1
Constructor and Description |
---|
ChmItspHeader() |
Modifier and Type | Method and Description |
---|---|
long |
getBlock_len()
Returns block's length
|
int |
getBlockidx_intvl()
Returns block index interval
|
int |
getHeader_len()
Returns header length
|
int |
getIndex_depth()
Returns an index depth
|
int |
getIndex_head()
Returns an index head
|
int |
getIndex_root()
Returns index root
|
long |
getLang_id()
Returns language id
|
long |
getNum_blocks()
Returns number of blocks
|
byte[] |
getSignature()
Returns a signature of the header
|
byte[] |
getSystem_uuid()
Returns system uuid
|
int |
getUnknown_000c()
Returns 000c unknown bytes
|
int |
getUnknown_0024()
Returns 0024 unknown bytes
|
int |
getUnknown_002c()
Returns 002c unknown bytes
|
byte[] |
getUnknown_0044()
Returns 0044 unknown bytes
|
int |
getVersion()
Returns version of itsp header
|
static void |
main(String[] args) |
void |
parse(byte[] data,
ChmItspHeader chmItspHeader)
Parses chm accessor
|
protected void |
setBlock_len(long block_len)
Sets block length
|
protected void |
setBlockidx_intvl(int blockidx_intvl)
Sets block index interval
|
protected void |
setHeader_len(int header_len)
Sets itsp header length
|
protected void |
setIndex_depth(int index_depth)
Sets an index depth
|
protected void |
setIndex_head(int index_head)
Sets an index head
|
protected void |
setIndex_root(int index_root)
Sets an index root
|
protected void |
setLang_id(long lang_id)
Sets language id
|
protected void |
setNum_blocks(long num_blocks)
Sets number of blocks containing in the chm file
|
protected void |
setSignature(byte[] signature)
Sets itsp signature
|
protected void |
setSystem_uuid(byte[] system_uuid)
Sets system uuid
|
protected void |
setUnknown_000c(int unknown_000c)
Sets 000c unknown bytes Unknown means here that those guys who cracked
the chm format do not know what's it purposes for
|
protected void |
setUnknown_0024(int unknown_0024)
Sets 0024 unknown bytes
|
protected void |
setUnknown_002c(int unknown_002c)
Sets 002c unknown bytes
|
protected void |
setUnknown_0044(byte[] unknown_0044)
Sets 0044 unknown bytes
|
protected void |
setVersion(int version)
Sets a version of itsp header
|
String |
toString() |
public byte[] getSignature()
protected void setSignature(byte[] signature)
signature
- public int getVersion()
protected void setVersion(int version)
version
- public int getHeader_len()
protected void setHeader_len(int header_len)
header_len
- public int getUnknown_000c()
protected void setUnknown_000c(int unknown_000c)
unknown_000c
- public long getBlock_len()
protected void setBlock_len(long block_len)
block_len
- public int getBlockidx_intvl()
protected void setBlockidx_intvl(int blockidx_intvl)
blockidx_intvl
- public int getIndex_depth()
protected void setIndex_depth(int index_depth)
index_depth
- public int getIndex_root()
protected void setIndex_root(int index_root)
index_root
- public int getIndex_head()
protected void setIndex_head(int index_head)
index_head
- public int getUnknown_0024()
protected void setUnknown_0024(int unknown_0024)
unknown_0024
- public long getNum_blocks()
protected void setNum_blocks(long num_blocks)
num_blocks
- public int getUnknown_002c()
protected void setUnknown_002c(int unknown_002c)
unknown_002c
- public long getLang_id()
protected void setLang_id(long lang_id)
lang_id
- public byte[] getSystem_uuid()
protected void setSystem_uuid(byte[] system_uuid)
system_uuid
- public byte[] getUnknown_0044()
protected void setUnknown_0044(byte[] unknown_0044)
unknown_0044
- public void parse(byte[] data, ChmItspHeader chmItspHeader) throws TikaException
ChmAccessor
parse
in interface ChmAccessor<ChmItspHeader>
data
- chm fileTikaException
public static void main(String[] args)
args
- Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.