Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-4147

[JPMS] Alternative way to provide custom MIME types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-BETA
    • 3.0.0-BETA
    • mime
    • None

    Description

      I'm having src/main/resources/org/apache/tika/mime/custom-mimetypes.xml (As recommended here https://tika.apache.org/2.9.0/parser_guide.html)

      But this immediately introduces org.apache.tika.mime package in our jar (which is conflicting with same package in Tika ... (( )

      Maybe it worth to create some alternative way to implement this?

      Like

      • Something like MimeTypesFactory.CUSTOM_MIMES_SYS_PROP but pointing to resource on classpath?
      • Extendable static Map at MimeTypesFactory?
      • Some sort of Service Locator?
      • something better than above? ))

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              solomax Maxim Solodovnik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: