Ya
You can use String Tokenizer to get the extension of the file  from file
name.





On Sat, Mar 26, 2011 at 2:15 PM, Nilesh Naik <[email protected]>wrote:

> Hello,
>
> Is there a way to identify/confirm that the uploaded document is of the
> type
> .doc or pdf? Becase based upon the type, I either need to use POI or Apache
> PDFBox for further processing.
>
> Thank you!
>



-- 
Thanks
Anand Shankar

Reply via email to