You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2009/08/05 18:45:50 UTC

Packages in the tika-core / tika-parsers

Hi,

may be i oversight things, but i'm a little bit confused cause
i found a class

CompositeParser in tika-core (org.apache.tika.parser) and
CompositeParser in tika-parsers (org.apache.tika.parser) ?

and this situation for many other classes as well...

AutoDetectParser, DelegatingParser, EmptyParser, ErrorParser, 
ExternalParser, Parser, ParserDecorator, ParserPostProcessor,
ParsingReader....

If i understand correct i have to use both of the above modules 
(tika-core and tika-parser) as dependencies for using Tika in my project ?

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

Re: Packages in the tika-core / tika-parsers

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Aug 5, 2009 at 6:45 PM, Karl Heinz Marbaise<kh...@gmx.de> wrote:
> may be i oversight things, but i'm a little bit confused cause
> i found a class
>
> CompositeParser in tika-core (org.apache.tika.parser) and
> CompositeParser in tika-parsers (org.apache.tika.parser) ?
>
> and this situation for many other classes as well...

Yeah, that's an unfortunate problem in Tika 0.4. See TIKA-263 for the
issue and the fix.

> If i understand correct i have to use both of the above modules (tika-core
> and tika-parser) as dependencies for using Tika in my project ?

Yep.

BR,

Jukka Zitting

Re: Packages in the tika-core / tika-parsers

Posted by Michael Wechner <mi...@wyona.com>.
Karl Heinz Marbaise schrieb:
> Hi,
>
> may be i oversight things, but i'm a little bit confused cause
> i found a class
>
> CompositeParser in tika-core (org.apache.tika.parser) and
> CompositeParser in tika-parsers (org.apache.tika.parser) ?
>
> and this situation for many other classes as well...
>
> AutoDetectParser, DelegatingParser, EmptyParser, ErrorParser, 
> ExternalParser, Parser, ParserDecorator, ParserPostProcessor,
> ParsingReader....

what exactly are you looking at? The jars of the source?

Within the source (SVN revision 801237) this is not the case.

Maybe when jars were created it duplicated the class files (which I 
would assume is a bug of the build proces), but this is just a wild guess
>
> If i understand correct i have to use both of the above modules 
> (tika-core and tika-parser) as dependencies for using Tika in my 
> project ?

AFAIK tika-core contains the API and tika-parser contains the various 
implementation

Cheers

Michael
>
> Kind regards
> Karl Heinz Marbaise