Class TikaParsers

java.lang.Object
org.apache.tika.server.core.resource.TikaParsers

@Path("/parsers") public class TikaParsers extends Object

Provides details of all the Parsers registered with Apache Tika, similar to --list-parsers and --list-parser-details within the Tika CLI.

  • Constructor Details

    • TikaParsers

      public TikaParsers()
  • Method Details

    • getParserDetailsHTML

      @GET @Path("/details") @Produces("text/html") public String getParserDetailsHTML()
    • getParsersHTML

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

      protected String getParsersHTML(boolean withMimeTypes)
    • getParserDetailsJSON

      @GET @Path("/details") @Produces("application/json") public String getParserDetailsJSON() throws IOException
      Throws:
      IOException
    • getParsersJSON

      @GET @Produces("application/json") public String getParsersJSON() throws IOException
      Throws:
      IOException
    • getParsersJSON

      protected String getParsersJSON(boolean withMimeTypes) throws IOException
      Throws:
      IOException
    • getParserDetailssPlain

      @GET @Path("/details") @Produces("text/plain") public String getParserDetailssPlain()
    • getParsersPlain

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

      protected String getParsersPlain(boolean withMimeTypes)