James, You can open the file using SS Usermode. See http://poi.markmail.org/message/ejihftiztkrifcvq?q=from:%22Paul+Spencer%22
Paul Spencer On Apr 19, 2010, at 7:49 AM, James Geroge wrote: > > Hi Friends, > Is there a way to know the file is an excel file without manipulating the > file extension, as the users can send the excel files in format like below. > Test > Test.xls > Test.xlsx > Test.xlsxxlsx(by renaming the file using windows explorer) > Test.xlsabcd (by renaming > > Thanks, > James George. > -- > View this message in context: > http://old.nabble.com/How-to-check-for-valid-excel-files-using-POI-without-checking-the-file-extension-tp28287650p28287650.html > Sent from the POI - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
