On Fri, 16 May 2008, visu wrote:
How do i find out how many total records are in excel file while using event model.

Count them?

public class Counter implements HSSFListener {
        private int numRecords = 0;
        public void processRecord(Record record) {
                numRecords++;
        }
}

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to