public class ChmItsfHeader extends java.lang.Object implements ChmAccessor<ChmItsfHeader>
Constructor and Description |
---|
ChmItsfHeader() |
Modifier and Type | Method and Description |
---|---|
long |
getDataOffset()
Returns data offset
|
byte[] |
getDir_uuid()
Returns directory uuid
|
long |
getDirLen()
Returns directory length
|
long |
getDirOffset()
Returns directory offset
|
int |
getHeaderLen()
Returns itsf header length
|
long |
getLangId()
Returns language ID
|
long |
getLastModified()
Returns last modified date of the chm file
|
byte[] |
getSignature()
Returns a signature of itsf header
|
byte[] |
getStream_uuid()
Returns stream uuid
|
int |
getUnknown_000c()
Returns unknown_00c value
|
long |
getUnknownLen()
Returns unknown length
|
long |
getUnknownOffset()
Returns unknown offset
|
int |
getVersion()
Returns itsf header version
|
static void |
main(java.lang.String[] args) |
void |
parse(byte[] data,
ChmItsfHeader chmItsfHeader)
Parses chm accessor
|
java.lang.String |
toString()
Prints the values of ChmfHeader
|
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] getSignature()
public int getVersion()
public int getHeaderLen()
public int getUnknown_000c()
public long getLastModified()
public long getLangId()
public byte[] getDir_uuid()
public byte[] getStream_uuid()
public long getUnknownOffset()
public long getUnknownLen()
public long getDirOffset()
public long getDirLen()
public long getDataOffset()
public static void main(java.lang.String[] args)
public void parse(byte[] data, ChmItsfHeader chmItsfHeader) throws TikaException
ChmAccessor
parse
in interface ChmAccessor<ChmItsfHeader>
data
- chm fileTikaException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"