Package org.openl.rules.lang.xls.load
Class LazyCellLoader
- java.lang.Object
-
- org.openl.rules.lang.xls.load.LazyCellLoader
-
- All Implemented Interfaces:
CellLoader
public class LazyCellLoader extends Object implements CellLoader
Provides lazy access to the Cell. If corresponding workbook was garbage collected previously, it will bec loaded again whengetCell()is invoked.
-
-
Constructor Summary
Constructors Constructor Description LazyCellLoader(SheetLoader sheetLoader, int column, int row)
-
-
-
Constructor Detail
-
LazyCellLoader
public LazyCellLoader(SheetLoader sheetLoader, int column, int row)
-
-
Method Detail
-
getCell
public org.apache.poi.ss.usermodel.Cell getCell()
Get the cell. When this method is repeatedly called, it can (but mustn't) return the different instances of Cell java object.- Specified by:
getCellin interfaceCellLoader- Returns:
- loaded cell
-
-