java - sheet.getLastRowNum() gives different values -


i have 2 excel files single row. trying last row number of file. first file gives value 0 , second 1 1. idea why there inconsistency in this?

read documentation (from here):

gets number last row on sheet. owing idiosyncrasies in excel file format, if result of calling method zero, can't tell if means there 0 rows on sheet, or 1 @ position zero. case, additionally call getphysicalnumberofrows() tell if there row @ position 0 or not.


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World