Class ChmDirectoryListingSet
java.lang.Object
org.apache.tika.parser.chm.accessor.ChmDirectoryListingSet
Holds chm listing entries
-
Constructor Summary
ConstructorsConstructorDescriptionChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader) Constructs chm directory listing set -
Method Summary
Modifier and TypeMethodDescriptionintReturns control data index that located in ListlongReturns data offsetReturns chm directory listing entry listintReturn index of reset tablevoidSets chm directory listing entry liststatic final booleanstartsWith(byte[] data, String prefix) toString()
-
Constructor Details
-
ChmDirectoryListingSet
public ChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader) throws TikaException Constructs chm directory listing set- Parameters:
data- byte[]chmItsHeader-chmItspHeader-- Throws:
TikaException
-
-
Method Details
-
toString
-
getControlDataIndex
public int getControlDataIndex()Returns control data index that located in List- Returns:
- control data index
-
getResetTableIndex
public int getResetTableIndex()Return index of reset table- Returns:
- reset table index
-
startsWith
-
setDirectoryListingEntryList
Sets chm directory listing entry list- Parameters:
dlel- chm directory listing entry list
-
getDirectoryListingEntryList
Returns chm directory listing entry list- Returns:
- List
-
getDataOffset
public long getDataOffset()Returns data offset- Returns:
- dataOffset
-