com.alibaba.excel.read.listener

接口 ReadListener<T>

    • 方法详细资料

      • onException

        default void onException(Exception exception,
                                 AnalysisContext context)
                          throws Exception
        All listeners receive this method when any one Listener does an error report. If an exception is thrown here, the entire read will terminate.
        参数:
        exception -
        context -
        抛出:
        Exception
      • extra

        default void extra(CellExtra extra,
                           AnalysisContext context)
        The current method is called when extra information is returned
        参数:
        extra - extra information
        context - analysis context
      • doAfterAllAnalysed

        void doAfterAllAnalysed(AnalysisContext context)
        if have something to do after all analysis
        参数:
        context -
      • hasNext

        default boolean hasNext(AnalysisContext context)
        Verify that there is another piece of data.You can stop the read by returning false
        参数:
        context -
        返回:

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