Hi,

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.

Reply via email to