I use the You can use the In the Java tutorial, see DOS file attributes to check the system flag file and
FileSystemView sections to remove the diskinfo The problem I am is that when I get all the files in any directory, there are still files that have been secured to the system and I did not want to show them. So is there a way to check that this is a system protected file and then it is not showing up?
File.isHidden () method to hide hidden files Can find out. If you have to explicitly detect Windows system files, then you can do this in Java 7 through your NiO2 interface.
No comments:
Post a Comment