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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -