How to check if file is Hidden in java

To check if file is hidden in java, we use java.io.File API’s isHidden() method. In this post we will see example of how we use isHidden method in code.

Example : Check If File is Hidden

Please Note

File.isHidden() works differently on windows and unix.
Please see the details at the java doc –
1. File isHidden()

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn