public class ChmPmgiHeader extends Object implements ChmAccessor<ChmPmgiHeader>
Note: This class is not in use
://translated.by/you/microsoft-s-html-help-chm-format-incomplete/original
/?show-translation-form=1
Constructor and Description |
---|
ChmPmgiHeader() |
Modifier and Type | Method and Description |
---|---|
long |
getFreeSpace()
Returns pmgi free space
|
byte[] |
getSignature()
Returns pmgi signature if exists
|
static void |
main(String[] args) |
void |
parse(byte[] data,
ChmPmgiHeader chmPmgiHeader)
Parses chm accessor
|
protected void |
setFreeSpace(long free_space)
Sets pmgi free space
|
protected void |
setSignature(byte[] signature)
Sets pmgi signature
|
String |
toString()
Returns textual representation of the pmgi header
|
public byte[] getSignature()
protected void setSignature(byte[] signature)
signature
- public long getFreeSpace()
protected void setFreeSpace(long free_space)
free_space
- public String toString()
public void parse(byte[] data, ChmPmgiHeader chmPmgiHeader) throws TikaException
ChmAccessor
parse
in interface ChmAccessor<ChmPmgiHeader>
data
- chm fileTikaException
public static void main(String[] args)
args
- Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.