public class ChmPmgiHeader extends Object implements ChmAccessor<ChmPmgiHeader>
Note: This class is not in use
Constructor and Description |
---|
ChmPmgiHeader() |
Modifier and Type | Method and Description |
---|---|
long |
getFreeSpace()
Returns pmgi free space
|
byte[] |
getSignature()
Returns pmgi signature if exists
|
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
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.