Class ChmExtractor
- java.lang.Object
-
- org.apache.tika.parser.microsoft.chm.ChmExtractor
-
public class ChmExtractor extends Object
Extracts text from chm file. Enumerates chm entries.
-
-
Constructor Summary
Constructors Constructor Description ChmExtractor(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
enumerateChm()
Enumerates chm entitiesbyte[]
extractChmEntry(DirectoryListingEntry directoryListingEntry)
Decompresses a chm entryChmDirectoryListingSet
getChmDirList()
-
-
-
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()
-
-