com.alibaba.excel.cache
接口 ReadCache
-
方法概要
所有方法 实例方法 抽象方法 限定符和类型 方法和说明 void
destroy()
Called when the excel read is completeString
get(Integer key)
Get valuevoid
init(AnalysisContext analysisContext)
Initialize cachevoid
put(String value)
Automatically generate the key and put it in the cache.Key start from 0void
putFinished()
It's called when all the values are put in
-
方法详细资料
init
void init(AnalysisContext analysisContext)
Initialize cache- 参数:
-
analysisContext
- A context is the main anchorage point of a excel reader.
put
void put(String value)
Automatically generate the key and put it in the cache.Key start from 0- 参数:
-
value
- Cache value
putFinished
void putFinished()
It's called when all the values are put in
destroy
void destroy()
Called when the excel read is complete
Copyright © 2018–2019 Alibaba Group. All rights reserved.