public class ChmPmglHeader extends Object implements ChmAccessor<ChmPmglHeader>
Constructor and Description |
---|
ChmPmglHeader() |
Modifier and Type | Method and Description |
---|---|
int |
getBlockNext() |
int |
getBlockPrev() |
long |
getFreeSpace() |
byte[] |
getSignature() |
long |
getUnknown0008() |
void |
parse(byte[] data,
ChmPmglHeader chmPmglHeader)
Parses chm accessor
|
protected void |
setBlockNext(int block_next) |
protected void |
setBlockPrev(int block_prev) |
void |
setFreeSpace(long free_space) |
protected void |
setSignature(byte[] signature) |
protected void |
setUnknown0008(long unknown_0008) |
String |
toString() |
protected void |
unmarshalCharArray(byte[] data,
ChmPmglHeader chmPmglHeader,
int count) |
public long getFreeSpace()
public void setFreeSpace(long free_space) throws TikaException
TikaException
protected void unmarshalCharArray(byte[] data, ChmPmglHeader chmPmglHeader, int count) throws TikaException
TikaException
public void parse(byte[] data, ChmPmglHeader chmPmglHeader) throws TikaException
ChmAccessor
parse
in interface ChmAccessor<ChmPmglHeader>
data
- chm fileTikaException
public byte[] getSignature()
protected void setSignature(byte[] signature)
public long getUnknown0008()
protected void setUnknown0008(long unknown_0008)
public int getBlockPrev()
protected void setBlockPrev(int block_prev)
public int getBlockNext()
protected void setBlockNext(int block_next)
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.