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

Enable getExtension() for mime strings with parameters

    Details

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

      Description

      getExtension() offers a handy way to add a "detected" extension from a MimeType for a file that didn't come with an extension. However, this functionality doesn't work with texty files: html, xml, css, csv, etc.

      Let's add a static helper class (or build it into MimeType?) that will output an extension for all mime types including texty mime types.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison@apache.org Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: