org.apache.tika.parser.chm.core
Class ChmExtractor

java.lang.Object
  extended by org.apache.tika.parser.chm.core.ChmExtractor

public class ChmExtractor
extends java.lang.Object

Extracts text from chm file. Enumerates chm entries.


Constructor Summary
ChmExtractor(java.io.InputStream is)
           
 
Method Summary
 java.util.List<java.lang.String> enumerateChm()
          Enumerates chm entities
 byte[][] extractChmEntry(DirectoryListingEntry directoryListingEntry)
          Decompresses a chm entry
 ChmDirectoryListingSet getChmDirList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChmExtractor

public ChmExtractor(java.io.InputStream is)
             throws TikaException,
                    java.io.IOException
Throws:
TikaException
java.io.IOException
Method Detail

enumerateChm

public java.util.List<java.lang.String> enumerateChm()
Enumerates chm entities

Returns:
list of chm entities

extractChmEntry

public byte[][] extractChmEntry(DirectoryListingEntry directoryListingEntry)
                         throws TikaException
Decompresses a chm entry

Parameters:
directoryListingEntry -
Returns:
decompressed data
Throws:
TikaException

getChmDirList

public ChmDirectoryListingSet getChmDirList()


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