tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] Updated: (TIKA-537) Command line option --list-parsers should list 2nd level parsers below CompositeParsers
Date Wed, 03 Nov 2010 01:06:24 GMT

     [ https://issues.apache.org/jira/browse/TIKA-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Høydahl updated TIKA-537:
-----------------------------

    Attachment: TIKA-537.patch

New patch.
Prints true name of parser even if wrapped in ParserDecorator.
Uses recursion to support n-levels of composite parsers.

> Command line option --list-parsers should list 2nd level parsers below CompositeParsers
> ---------------------------------------------------------------------------------------
>
>                 Key: TIKA-537
>                 URL: https://issues.apache.org/jira/browse/TIKA-537
>             Project: Tika
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: 0.7
>            Reporter: Jan Høydahl
>         Attachments: TIKA-537.patch, TIKA-537.patch
>
>
> The command line options --list-parsers and --list-parser-details are very useful to
quickly see which parsers and mime-types are configured.
> However, after the introduction of DefaultParser, the list has become less useful as
it only lists the DefaultParser with all mime-types as children.
> A better way would be to list the 2nd level parsers below the CompositeParser:
> {code}
> org.apache.tika.parser.DefaultParser (Composite Parser):
>   org.apache.tika.parser.asm.ClassParser
>     application/java-vm
>   org.apache.tika.parser.audio.AudioParser
>     audio/x-aiff
>     audio/x-wav
>     audio/basic
>     [...]
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message