timgrein opened a new pull request, #3173:
URL: https://github.com/apache/tika/pull/3173

   Currently `--list-met-models` only prints `Serializible` as `Metadata` 
doesn't implement the different metadata interfaces (`AccessPermissions` ... 
`Zip`) anymore.
   I've added them now explicitly to `TikaCLI`. An alternative approach would 
be to use reflection to scan over the directory containing the metadata 
interfaces, but this sounds a bit hacky. A marker interface would also rely on 
a new interface needing to implement it explicitly, so I thought simply 
hardcoding it is the most straightforward solution.
   
   New output:
   ```
   java -jar tika-app/target/tika-app-*.jar --list-met-models                   
                                                                                
                                                                      
   AccessPermissions
    ASSEMBLE_DOCUMENT
    CAN_MODIFY
    CAN_MODIFY_ANNOTATIONS
   ...
   Zip
    CENTRAL_DIRECTORY_ONLY_ENTRIES
    COMMENT
    COMPRESSED_SIZE
    COMPRESSION_METHOD
   ...
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to