[
https://issues.apache.org/jira/browse/TIKA-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927713#action_12927713
]
Jan Høydahl commented on TIKA-537:
----------------------------------
The new patch prints all levels including the top level:
{code}
lap:target janhoy$ java -jar tika-app-0.8-SNAPSHOT.jar --list-parser-details
org.apache.tika.parser.AutoDetectParser (Composite Parser):
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 gives a more true picture of how things are wired than the old format.
Candidate for 0.8 ?
> 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.