Top Description Fields Constructors Methods
org.apache.poi.hssf.eventusermodel.dummyrecord

public final Class LastCellOfRowDummyRecord

extends DummyRecordBase
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.hssf.record.HSSFRecordTypes, org.apache.poi.util.GenericRecordUtil

A dummy record to indicate that we've now had the last cell record for this row.

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
LastCellOfRowDummyRecord(int row, int lastColumnNumber)

Method Summary

Modifier and TypeMethod and Description
public LastCellOfRowDummyRecord
public Map<String, Supplier<?>>
public HSSFRecordTypes
public int

Returns:

the (0 based) number of the last column
getLastColumnNumber
()

Returns the (0 based) number of the last column seen for this row.

public int

Returns:

the (0 based) number of the row
getRow
()

Returns the (0 based) number of the row we are currently working on.

Inherited from org.apache.poi.hssf.eventusermodel.dummyrecord.DummyRecordBase:
getRecordSizegetSidserialize

Field Detail

lastColumnNumberback to summary
private final int lastColumnNumber
rowback to summary
private final int row

Constructor Detail

LastCellOfRowDummyRecordback to summary
public LastCellOfRowDummyRecord(int row, int lastColumnNumber)

Method Detail

copyback to summary
public LastCellOfRowDummyRecord copy()

Implements abstract org.apache.poi.hssf.record.Record.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:LastCellOfRowDummyRecord

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.Record.getGenericRecordType.

Annotations
@Override
getLastColumnNumberback to summary
public int getLastColumnNumber()

Returns the (0 based) number of the last column seen for this row. You should have already been called with that record. This is -1 in the case of there being no columns for the row.

Returns:int

the (0 based) number of the last column

getRowback to summary
public int getRow()

Returns the (0 based) number of the row we are currently working on.

Returns:int

the (0 based) number of the row