i want to check a file is hidden or not using java. How to do?
The isHidden() method is system dependent.
on UNIX/LINUX, a file is considered hidden if its name is begins with a dot symbol (.) like ".m2" repository folder.
On Microsoft Windows, a file is considered to be hidden, if its marked as hidden in the file properties.