当使用apache提取excel内容时,我只能从第一个工作表中提取内容。我怎样才能找到床单的总数?我使用的代码如下所示。BodyContentHandler handler = new BodyContentHandler();FileInputStream inputstreampcontext = new ParseContext();
OOXMLParser msofficeparser = new OOXMLParser()
我已经使用下面的代码(使用tika)提取了多种文件格式(pdf,html,doc)的文本。File file1 = new File("c://sample.pdf);BodyContentHandlerBodyContentHandler(10*1024*1024);obj.put("Content",handler.toString()