poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: How to check for valid excel files using POI without checking the file extension
Date Mon, 19 Apr 2010 12:27:29 GMT
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: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message