Working with excel files using apache poi -
What is the procedure for reading or writing both formats of 2003 and 2007 using apache poi? I know that we can use the HSSF workbook for the 2003 format and the XSSF for 2007 (if incorrect then correct me). But using any one workbook to read both formats but there is no way to use it separately.
Try Read more about the event user model. Hope this was useful; workbook wb = workbook .factor .create (OPCPackage pkg); . This should work. However, If
XSSF is too large, you will get an
OutOfMemoryException and therefore you should use the Event User Model to read your file. In that case you should read your route and your File extensions should be examined, such as the following:
private Julian isXLS (string inputpath) {string tmp = inputpath.lamp () - 3, inputpath.line ()); if (tmp.equalsIgnoreCase ("XLS")) return true; second false return;}
Comments
Post a Comment