Package org.apache.tika.server.resource
Class TikaMimeTypes
- java.lang.Object
-
- org.apache.tika.server.resource.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 Summary
Constructors Constructor Description TikaMimeTypes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.apache.tika.server.resource.TikaMimeTypes.MediaTypeDetails>
getMediaTypes()
String
getMimeTypesHTML()
String
getMimeTypesJSON()
String
getMimeTypesPlain()
-
-
-
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()
-
-