Apache POI - Detecting difference between an xlsx file and a normal zip file

2017-03-22 Thread Thiyagarajan
Hi, I have an InputStream wrapped in a BufferedInputStream and I'm trying to detect whether it is a normal zip file or a xlsx file (and take appropriate actions accordingly). I have tried to use hasOOXMLHeader

Re: Apache POI - Detecting difference between an xlsx file and a normal zip file

2017-03-22 Thread Thiyagarajan
Hi, Say I have the actual File object of the xlsx file, what do you mean exactly by random-access do you mean? -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Apache-POI-Detecting-difference-between-an-xlsx-file-and-a-normal-zip-file-tp5727035p5727037.html Sent from the