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

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

public class ChmExtractor
extends Object

Extracts text from chm file. Enumerates chm entries.


Constructor Summary
ChmExtractor(InputStream is)
           
 
Method Summary
 List<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(InputStream is)
             throws TikaException,
                    IOException
Throws:
TikaException
IOException
Method Detail

enumerateChm

public List<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-2012 The Apache Software Foundation. All Rights Reserved.