类 XlsSaxAnalyser

  • 所有已实现的接口:
    ExcelReadExecutor, org.apache.poi.hssf.eventusermodel.HSSFListener

    public class XlsSaxAnalyser
    extends Object
    implements org.apache.poi.hssf.eventusermodel.HSSFListener, ExcelReadExecutor
    /** * A text extractor for Excel files. *

    * Returns the textual content of the file, suitable for * indexing by something like Lucene, but not really * intended for display to the user. *


    * To turn an excel file into a CSV or similar, then see * the XLS2CSVmra example *

    * * @see XLS2CSVmra
    • 构造器详细资料

      • XlsSaxAnalyser

        public XlsSaxAnalyser(AnalysisContext context,
                              org.apache.poi.poifs.filesystem.POIFSFileSystem poifsFileSystem)
    • 方法详细资料

      • execute

        public void execute(List<ReadSheet> readSheetList,
                            Boolean readAll)
        从接口复制的说明: ExcelReadExecutor
        Read the sheet.
        execute 在接口中  ExcelReadExecutor
        readSheetList - Which sheets you need to read.
        readAll - The readSheetList parameter is ignored, and all sheets are read.
      • processRecord

        public void processRecord(org.apache.poi.hssf.record.Record record)
        processRecord 在接口中  org.apache.poi.hssf.eventusermodel.HSSFListener

Copyright © 2018–2019 Alibaba Group. All rights reserved.