title: Apache Tika - how to get all parsers?
body: <p>I'm trying to use Apache Tika to parse content of document. But instead of retrieving document's content I've got empty String. When I check which parser was used by calling <code>metadata.get("X-Parsed-By")</code> I allways get only <code>org.apache.tika.parser.EmptyParser</code>.</p>
  
  <p>This is my code:</p>
  
  <pre><code>private String parseToString(byte[] content) throws IOException, SAXException, TikaException {
      ContentHandler handler = new BodyContentHandler();
      AutoDetectParser parser = new AutoDetectParser();
      Metadata metadata = new Metadata();
      parser.parse(TikaInputStream.get(content), handler, metadata);
  
      return handler.toString();
  }
  </code></pre>
  
  <p>Thanks for your help!</p>