|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tika.parser.chm.CHMDocumentInformation
public class CHMDocumentInformation
Extracts text and metadata from chm file
| Constructor Summary | |
|---|---|
CHMDocumentInformation()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CHMDocumentInformation()
| Method Detail |
|---|
public static CHMDocumentInformation load(InputStream is)
throws org.apache.tika.exception.TikaException,
IOException
is - InputStream
org.apache.tika.exception.TikaException
IOException
public void getCHMDocInformation(org.apache.tika.metadata.Metadata metadata)
throws org.apache.tika.exception.TikaException,
IOException
metadata -
org.apache.tika.exception.TikaException
IOException
public String getText()
throws org.apache.tika.exception.TikaException
org.apache.tika.exception.TikaExceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||