tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iapilgrim <iapilg...@gmail.com>
Subject AutodetectParser fail with text file
Date Tue, 06 Jan 2009 09:42:40 GMT

Hi,
I'm using Tika 0.2 for extracting various content type.
I tried TXTParser for txt files. It's OK. But when I change the parser to
AutoDetectParser. It cannot extract content.
Here my code
        Metadata metadata = new Metadata();
        StringWriter writer = new StringWriter();
        parser.parse(new FileInputStream(f), new
BodyContentHandler(writer),metadata);
I don't know why. I'm very new to Tika.
I'm using Linux ( maybe it can concern).
Regard,
Van
-- 
View this message in context: http://www.nabble.com/AutodetectParser-fail-with-text-file-tp21307369p21307369.html
Sent from the Apache Tika - Development mailing list archive at Nabble.com.


Mime
View raw message