Java Code Examples for org.apache.poi.hssf.record.LabelSSTRecord#getColumn()
The following examples show how to use
org.apache.poi.hssf.record.LabelSSTRecord#getColumn() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StringRecordHandler.java From easyexcel with Apache License 2.0 | 5 votes |
@Override public void decode(Record record) { LabelSSTRecord labelSSTRecord = (LabelSSTRecord) record; int currColNum = labelSSTRecord.getColumn(); handlerContext.addCol2CurrRowList(handlerContext.getSSTRecord().getString(labelSSTRecord.getSSTIndex()).toString()); handlerContext.setCurrColNum(currColNum); }