public class ChmLzxcControlData extends Object implements ChmAccessor<ChmLzxcControlData>
Constructor and Description |
---|
ChmLzxcControlData() |
Modifier and Type | Method and Description |
---|---|
long |
getResetInterval()
Returns reset interval
|
byte[] |
getSignature()
Returns a signature of control data block
|
long |
getSize()
Returns a size of control data
|
long |
getUnknown_18()
Returns unknown 18 bytes
|
long |
getVersion()
Returns a version of control data block
|
long |
getWindowSize()
Returns a window size
|
long |
getWindowsPerReset()
Returns windows per reset
|
static void |
main(String[] args) |
void |
parse(byte[] data,
ChmLzxcControlData chmLzxcControlData)
Parses chm accessor
|
protected void |
setResetInterval(long resetInterval)
Sets a reset interval
|
protected void |
setSignature(byte[] signature)
Sets a signature of control data block
|
protected void |
setSize(long size)
Sets a size of control data
|
protected void |
setUnknown_18(long unknown_18)
Sets unknown 18 bytes
|
protected void |
setVersion(long version)
Sets version of control data block
|
protected void |
setWindowSize(long windowSize)
Sets a window size
|
protected void |
setWindowsPerReset(long windowsPerReset)
Sets windows per reset
|
String |
toString()
Returns textual representation of ChmLzxcControlData
|
public static void main(String[] args)
args
- public long getSize()
protected void setSize(long size)
size
- public byte[] getSignature()
protected void setSignature(byte[] signature)
signature
- public long getVersion()
protected void setVersion(long version)
version
- public long getResetInterval()
protected void setResetInterval(long resetInterval)
resetInterval
- public long getWindowSize()
protected void setWindowSize(long windowSize)
windowSize
- public long getWindowsPerReset()
protected void setWindowsPerReset(long windowsPerReset)
windowsPerReset
- public long getUnknown_18()
protected void setUnknown_18(long unknown_18)
unknown_18
- public String toString()
public void parse(byte[] data, ChmLzxcControlData chmLzxcControlData) throws TikaException
ChmAccessor
parse
in interface ChmAccessor<ChmLzxcControlData>
data
- chm fileTikaException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.