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

Inheritance modification for the class MIMETypes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Component/s: mime
    • Labels:

      Description

      The Class MIMETypes does not currently allow for inheritance.

      There are a couple of methods in this class which looks independent, and some of which needs to be exposed or overwritten for special needs or use cases, this will enable tika users with more flexibility for new mime detection algorithm.

      ------------------------------------
      Perhaps it may be a good idea to extract out the detector logic from the MimeTypes class, and create an independent detector for Tika.

        Attachments

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              Lukeliush Luke sh
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: