Hello all -  I have a Excel workbook with password protected. The 
following code worked with APACHE POI 3.9 but not 3.14

if (POIFSFileSystem.hasPOIFSHeader(fileIn) == true)
         {
            try 
            {
               workbook = new HSSFWorkbook(fileIn, bDocProps);
            }
            catch (EncryptedDocumentException encryptedEx)
            {
               encryptionException = true;
               // Supplied password is invalid for Excel 2003 file
               message = CC_UnstructuredResourceBundle.getString(
                     "CC_UNSTRUCTURED_MSG_EXCEL_INVALID_PASSWORD"); 
 
            }

Any inputs if there are changes in 3.14 will be appreciated.

---
Thanks
Sateesh 


Reply via email to