You could also use Apache Tika to detect the file type.

On Mar 22, 2017 11:15, "Thiyagarajan" <thyagub...@gmail.com> wrote:

> 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 POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
> For additional commands, e-mail: user-h...@poi.apache.org
>
>

Reply via email to