Exclude extensions in filename filter in Java?

My Controller method (which has a method to list the files, from a path mentioned in the property file, on JSP) ...

How to get a file in Windows with a colon in the filename??

I am getting errors from customers who are uploading files with a colon in the file name, i.e. C:/uploads/test : doc...