Possible Duplicate:
How to check a file if exists with wildcard in Java?
I am very new to Java.I working some homework and as a part of that I have to check whether a file with .css extension exists in a folder.How can i check exactly .css extension file existed in the folder using java.
The below code may help you.
Enjoy !!!