* 支持停止单个sheet以后继续读取其他sheet,使用ExcelAnalysisStopSheetException

This commit is contained in:
是仪 2024-03-11 20:59:17 +08:00
parent 5d02c43f82
commit bd4252f045

View File

@ -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 {