[ 
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

This patch shows the 2nd level parsers and their mimetypes instead of listing 
all the mimetypes directly below the CompositeParser.

> 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
>
>
> 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.

Reply via email to