public class ChmDirectoryListingSet extends Object
Constructor and Description |
---|
ChmDirectoryListingSet(byte[] data,
ChmItsfHeader chmItsHeader,
ChmItspHeader chmItspHeader)
Constructs chm directory listing set
|
Modifier and Type | Method and Description |
---|---|
int |
getControlDataIndex()
Returns control data index that located in List
|
long |
getDataOffset()
Returns data offset
|
List<DirectoryListingEntry> |
getDirectoryListingEntryList()
Returns chm directory listing entry list
|
int |
getResetTableIndex()
Return index of reset table
|
protected void |
setControlDataIndex(int controlDataIndex)
Sets control data index
|
void |
setDirectoryListingEntryList(List<DirectoryListingEntry> dlel)
Sets chm directory listing entry list
|
protected void |
setResetTableIndex(int resetTableIndex)
Sets reset table index
|
static boolean |
startsWith(byte[] data,
String prefix) |
String |
toString() |
public ChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader) throws TikaException
data
- byte[]chmItsHeader
- chmItspHeader
- TikaException
public int getControlDataIndex()
protected void setControlDataIndex(int controlDataIndex)
controlDataIndex
- public int getResetTableIndex()
protected void setResetTableIndex(int resetTableIndex)
resetTableIndex
- public static final boolean startsWith(byte[] data, String prefix)
public void setDirectoryListingEntryList(List<DirectoryListingEntry> dlel)
dlel
- chm directory listing entry listpublic List<DirectoryListingEntry> getDirectoryListingEntryList()
public long getDataOffset()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.