Hi. I'm using the example xlsx2csv converter code to build a row iterator to work with an interface we use in our company code. We currently have a user model type working, but in our environment files much larger than 500KB cause that to crash. As such I'm working on a SAX version based loosely on the aforementioned example.
The basic idea I'm working with is two-threaded, with our api talking to a class which contains a row buffer, and another thread that fills that buffer, using a thread.wait command at the end tag of <row> when the buffer is full until notified to add the next row to the buffer. But one of the requirements for this to work with our software is we have to have a way to somehow retrieve the number of rows in a given sheet, however there is no obvious way to do this without simply processing the sheet and counting the rows. Any suggestions? Can post code fragments if necessary. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/How-to-get-row-count-using-SAX-XLSX-tp5529644p5529644.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]
