Class MimeDetector

  • All Implemented Interfaces:
    Tool

    public class MimeDetector
    extends Object
    Commandline tool to detect MIME Types from file, HTTP and direct input sources. The implementation of this tool is based on TikaMIMETypeDetector.
    Author:
    Michele Mostarda (mostarda@fbk.eu)
    • Constructor Detail

      • MimeDetector

        public MimeDetector()
    • Method Detail

      • run

        public void run()
                 throws Exception
        Description copied from interface: Tool
        Runs the tool and retrieves the exit code.
        Throws:
        Exception - if there is an error running the tool.