Class TikaMimeTypes


  • @Path("/mime-types")
    public class TikaMimeTypes
    extends Object

    Provides details of all the mimetypes known to Apache Tika, similar to --list-supported-types with the Tika CLI.

    • Constructor Detail

      • TikaMimeTypes

        public TikaMimeTypes()
    • Method Detail

      • getMimeTypesHTML

        @GET
        @Produces("text/html")
        public String getMimeTypesHTML()
      • getMimeTypesJSON

        @GET
        @Produces("application/json")
        public String getMimeTypesJSON()
      • getMimeTypesPlain

        @GET
        @Produces("text/plain")
        public String getMimeTypesPlain()
      • getMediaTypes

        protected List<org.apache.tika.server.resource.TikaMimeTypes.MediaTypeDetails> getMediaTypes()