You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Andrea Asta <as...@gmail.com> on 2015/08/27 10:38:17 UTC
TikaConfig with constructor args
Hi all,
I've developed a new Parser for my custom file type.
This parser needs some configuration to init an external connections. Is
there a way to specify the constructor params (or bean properties to set)
in the Tika xml format?
Thanks
Andrea
Re: TikaConfig with constructor args
Posted by Nick Burch <ap...@gagravarr.org>.
On Thu, 27 Aug 2015, Andrea Asta wrote:
> This parser needs some configuration to init an external connections. Is
> there a way to specify the constructor params (or bean properties to
> set) in the Tika xml format?
Nope, not yet. See the thread "Configuring parsers and translators" for
some discussion on the topic.
(A need to not re-invent spring badly is one sticking point!)
Nick
RE: TikaConfig with constructor args
Posted by "Allison, Timothy B." <ta...@mitre.org>.
That’s on my todo list (TIKA-1508). Unfortunately, that doesn’t exist yet. I’d recommend for now following the pattern of the PDFParser or the TesseractOCRParser. The config is driven by a properties file.
As soon as my dev laptop becomes unbricked, I’m going to turn to TIKA-1508. Given my schedule, I’d hope to have this into tika trunk within the next few weeks.
From: Andrea Asta [mailto:asta.andrea@gmail.com]
Sent: Thursday, August 27, 2015 4:38 AM
To: user@tika.apache.org
Subject: TikaConfig with constructor args
Hi all,
I've developed a new Parser for my custom file type.
This parser needs some configuration to init an external connections. Is there a way to specify the constructor params (or bean properties to set) in the Tika xml format?
Thanks
Andrea