com.alibaba.excel.event
类 AbstractIgnoreExceptionReadListener<T>
- java.lang.Object
-
- com.alibaba.excel.event.AbstractIgnoreExceptionReadListener<T>
-
- 所有已实现的接口:
- Listener, ReadListener<T>
已过时。Use directlyReadListener
@Deprecated public abstract class AbstractIgnoreExceptionReadListener<T> extends Object implements ReadListener<T>
Receives the return of each piece of data parsed- 作者:
- jipengfei
-
构造器概要
构造器 构造器和说明 AbstractIgnoreExceptionReadListener()
已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 限定符和类型 方法和说明 void
extra(CellExtra extra, AnalysisContext context)
已过时。The current method is called when extra information is returnedboolean
hasNext(AnalysisContext context)
已过时。Verify that there is another piece of data.You can stop the read by returning falsevoid
onException(Exception exception, AnalysisContext context)
已过时。All listeners receive this method when any one Listener does an error report.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.alibaba.excel.read.listener.ReadListener
doAfterAllAnalysed, invoke, invokeHead
-
方法详细资料
onException
public void onException(Exception exception, AnalysisContext context)
已过时。All listeners receive this method when any one Listener does an error report. If an exception is thrown here, the entire read will terminate.- 指定者:
-
onException
在接口中ReadListener<T>
- 参数:
-
exception
- -
context
-
extra
public void extra(CellExtra extra, AnalysisContext context)
已过时。The current method is called when extra information is returned- 指定者:
-
extra
在接口中ReadListener<T>
- 参数:
-
extra
- extra information -
context
- analysis context
hasNext
public boolean hasNext(AnalysisContext context)
已过时。从接口复制的说明:ReadListener
Verify that there is another piece of data.You can stop the read by returning false- 指定者:
-
hasNext
在接口中ReadListener<T>
- 返回:
Copyright © 2018–2021 Alibaba Group. All rights reserved.