Class EmptyMetaInfoReader
- java.lang.Object
-
- org.openl.rules.lang.xls.types.meta.EmptyMetaInfoReader
-
- All Implemented Interfaces:
MetaInfoReader
public final class EmptyMetaInfoReader extends Object implements MetaInfoReader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmptyMetaInfoReadergetInstance()CellMetaInfogetMetaInfo(int row, int col)Get meta info for a given row and column.voidprepare(IGridRegion region)Preliminary load meta info for a given region.voidrelease()Release meta info loaded inMetaInfoReader.prepare(IGridRegion)
-
-
-
Method Detail
-
getInstance
public static EmptyMetaInfoReader getInstance()
-
getMetaInfo
public CellMetaInfo getMetaInfo(int row, int col)
Description copied from interface:MetaInfoReaderGet meta info for a given row and column.- Specified by:
getMetaInfoin interfaceMetaInfoReader- Parameters:
row- rowcol- column- Returns:
- meta info
-
prepare
public void prepare(IGridRegion region)
Description copied from interface:MetaInfoReaderPreliminary load meta info for a given region. For a big tables it's a part of the table, meta info for full table not needed in this case. If this method wasn't invoked beforeMetaInfoReader.getMetaInfo(int, int), then meta info for full table can be loaded.- Specified by:
preparein interfaceMetaInfoReader- Parameters:
region- region to load meta info
-
release
public void release()
Description copied from interface:MetaInfoReaderRelease meta info loaded inMetaInfoReader.prepare(IGridRegion)- Specified by:
releasein interfaceMetaInfoReader
-
-