org.apache.tika.parser.chm.accessor
Class ChmDirectoryListingSet

java.lang.Object
  extended by org.apache.tika.parser.chm.accessor.ChmDirectoryListingSet

public class ChmDirectoryListingSet
extends Object

Holds chm listing entries


Constructor Summary
ChmDirectoryListingSet(byte[] data, ChmItsfHeader chmItsHeader, ChmItspHeader chmItspHeader)
          Constructs chm directory listing set
 
Method Summary
 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
static void main(String[] args)
           
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
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChmDirectoryListingSet

public ChmDirectoryListingSet(byte[] data,
                              ChmItsfHeader chmItsHeader,
                              ChmItspHeader chmItspHeader)
                       throws TikaException
Constructs chm directory listing set

Parameters:
data - byte[]
chmItsHeader -
chmItspHeader -
Throws:
TikaException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getControlDataIndex

public int getControlDataIndex()
Returns control data index that located in List

Returns:
control data index

setControlDataIndex

protected void setControlDataIndex(int controlDataIndex)
Sets control data index

Parameters:
controlDataIndex -

getResetTableIndex

public int getResetTableIndex()
Return index of reset table

Returns:
reset table index

setResetTableIndex

protected void setResetTableIndex(int resetTableIndex)
Sets reset table index

Parameters:
resetTableIndex -

main

public static void main(String[] args)
Parameters:
args -

setDirectoryListingEntryList

public void setDirectoryListingEntryList(List<DirectoryListingEntry> dlel)
Sets chm directory listing entry list

Parameters:
dlel - chm directory listing entry list

getDirectoryListingEntryList

public List<DirectoryListingEntry> getDirectoryListingEntryList()
Returns chm directory listing entry list

Returns:
List

getDataOffset

public long getDataOffset()
Returns data offset

Returns:
dataOffset


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.