String xmlConfig = "jxls.xml";  
                          String dataXLS = "jxls.xls";  
                          
                                                
                        InputStream inputXML = new BufferedInputStream(new
FileInputStream(xmlConfig));  
                        XLSReader   mainReader = ReaderBuilder.buildFromXML( 
inputXML );  
                        InputStream inputXLS = new BufferedInputStream(new
FileInputStream(dataXLS));  
                        Student stud = new Student();  
                         List<Student> stuList = new ArrayList<Student>();  
                         Map beans = new HashMap();  
                         beans.put("stuList", stuList);       
                   
                     XLSReadStatus readStatus = mainReader.read( inputXLS, 
beans);
                  

This is my code 

the mainReader shows an error that it cannot resolve INvalidFormatException 



------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
jXLS-user mailing list
jXLS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxls-user

Reply via email to