docs: public static String extractText(InputStream in, String encoding)
      throws ParserException, UnsupportedEncodingException {
  
          Parser parser = new Parser();
          Lexer lexer = new Lexer();
          Page page = new Page(in, encoding);
          lexer.setPage(page);
          parser.setLexer(lexer);
  
          StringBean stringBean = new StringBean();
          parser.visitAllNodesWith(stringBean);
  
          String result = stringBean.getStrings();
          return result == null ? "" : result;
      }