public class CHMDocumentInformation extends Object
| Constructor and Description |
|---|
CHMDocumentInformation() |
| Modifier and Type | Method and Description |
|---|---|
void |
getCHMDocInformation(org.apache.tika.metadata.Metadata metadata)
Returns chm metadata
|
String |
getText()
Returns extracted text from chm file
|
static CHMDocumentInformation |
load(InputStream is)
Loads chm file as input stream and returns a new instance of chm doc info
|
static void |
main(String[] args) |
public static CHMDocumentInformation load(InputStream is) throws org.apache.tika.exception.TikaException, IOException
is - InputStreamorg.apache.tika.exception.TikaExceptionIOExceptionpublic void getCHMDocInformation(org.apache.tika.metadata.Metadata metadata)
throws org.apache.tika.exception.TikaException,
IOException
metadata - org.apache.tika.exception.TikaExceptionIOExceptionpublic String getText() throws org.apache.tika.exception.TikaException
org.apache.tika.exception.TikaExceptionpublic static void main(String[] args)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.