tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dynamolalit <lalit.si...@gmail.com>
Subject Reg Autodetector Tika Parser
Date Tue, 08 Jun 2010 07:57:51 GMT


I have built apache tika 0.7 jar from source got from Tika site.

Now i am trying to extract text using Autodetector parser class but getting
no text as below:

ContentHandler textHandler = new BodyContentHandler();
Metadata metadata = new Metadata();
metadata.add(Metadata.RESOURCE_NAME_KEY, cName); 
AutoDetectParser parser = new AutoDetectParser();
parser.parse(iStream , textHandler , metadata );
logger.debug("Length of Content extracted by Tika : "+ content);

But it is showing 0.

Any idea where i am going wrong.
View this message in context: http://lucene.472066.n3.nabble.com/Reg-Autodetector-Tika-Parser-tp878680p878680.html
Sent from the Apache Tika - Development mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message