Thank you.iam doing the same thing.i was just wondering is there any way to
know upfront.

Nick Burch wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/total-records-using-event-model-tp17285051p17333474.html
Sent from the POI - User mailing list archive at Nabble.com.


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

Reply via email to