Class ChmDirectoryListingSet
- java.lang.Object
- 
- org.apache.tika.parser.microsoft.chm.ChmDirectoryListingSet
 
- 
 public class ChmDirectoryListingSet extends Object Holds chm listing entries
- 
- 
Constructor SummaryConstructors Constructor Description ChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader)Constructs chm directory listing set
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetControlDataIndex()Returns control data index that located in ListlonggetDataOffset()Returns data offsetList<DirectoryListingEntry>getDirectoryListingEntryList()Returns chm directory listing entry listintgetResetTableIndex()Return index of reset tableprotected voidsetControlDataIndex(int controlDataIndex)Sets control data indexvoidsetDirectoryListingEntryList(List<DirectoryListingEntry> dlel)Sets chm directory listing entry listprotected voidsetResetTableIndex(int resetTableIndex)Sets reset table indexstatic booleanstartsWith(byte[] data, String prefix)StringtoString()
 
- 
- 
- 
Constructor Detail- 
ChmDirectoryListingSetpublic ChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader) throws TikaExceptionConstructs chm directory listing set- Parameters:
- data- byte[]
- chmItsHeader-
- chmItspHeader-
- Throws:
- TikaException
 
 
- 
 - 
Method Detail- 
startsWithpublic static final boolean startsWith(byte[] data, String prefix)
 - 
getControlDataIndexpublic int getControlDataIndex() Returns control data index that located in List- Returns:
- control data index
 
 - 
setControlDataIndexprotected void setControlDataIndex(int controlDataIndex) Sets control data index- Parameters:
- controlDataIndex-
 
 - 
getResetTableIndexpublic int getResetTableIndex() Return index of reset table- Returns:
- reset table index
 
 - 
setResetTableIndexprotected void setResetTableIndex(int resetTableIndex) Sets reset table index- Parameters:
- resetTableIndex-
 
 - 
getDirectoryListingEntryListpublic List<DirectoryListingEntry> getDirectoryListingEntryList() Returns chm directory listing entry list- Returns:
- List
 
 - 
setDirectoryListingEntryListpublic void setDirectoryListingEntryList(List<DirectoryListingEntry> dlel) Sets chm directory listing entry list- Parameters:
- dlel- chm directory listing entry list
 
 - 
getDataOffsetpublic long getDataOffset() Returns data offset- Returns:
- dataOffset
 
 
- 
 
-