Browse Source

Merge pull request #3722 from alibaba/bugfix20240311

* 支持停止单个`sheet`以后继续读取其他`sheet`,使用`ExcelAnalysisStopSheetException`
pull/3724/head v3.3.4
Jiaju Zhuang 9 months ago committed by GitHub
parent
commit
89e4f6635a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 15
      easyexcel-core/src/main/java/com/alibaba/excel/analysis/v03/XlsSaxAnalyser.java

15
easyexcel-core/src/main/java/com/alibaba/excel/analysis/v03/XlsSaxAnalyser.java

@ -63,20 +63,19 @@ import com.alibaba.excel.read.metadata.ReadSheet;
import com.alibaba.excel.read.metadata.holder.xls.XlsReadWorkbookHolder; import com.alibaba.excel.read.metadata.holder.xls.XlsReadWorkbookHolder;
/** /**
* /** * A text extractor for Excel files. * * A text extractor for Excel files.
* <p> * <p>
* * Returns the textual content of the file, suitable for * indexing by something like Lucene, but not really * * Returns the textual content of the file, suitable for indexing by something like Lucene, but not really intended for
* intended for display to the user. * * display to the user.
* </p> * </p>
* * *
* <p> * <p>
* * To turn an excel file into a CSV or similar, then see * the XLS2CSVmra example * * To turn an excel file into a CSV or similar, then see the XLS2CSVmra example
* </p> * </p>
* * * @see <a href= *
* "http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra
* .java">XLS2CSVmra</a>
* *
* @author jipengfei * @author jipengfei
* @see <a href="http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java">XLS2CSVmra</a>
*/ */
@Slf4j @Slf4j
public class XlsSaxAnalyser implements HSSFListener, ExcelReadExecutor { public class XlsSaxAnalyser implements HSSFListener, ExcelReadExecutor {

Loading…
Cancel
Save