com.alibaba.excel.cache

接口 ReadCache

  • 所有已知实现类:
    Ehcache, MapCache

    public interface ReadCache
    Read cache
    作者:
    Jiaju Zhuang
    • 方法详细资料

      • 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
      • get

        String get(Integer key)
        Get value
        参数:
        key - Index
        返回:
        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.