How make file hidden in Java with Example
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13273
Total Votes: 142 votes
Category: JAVA/Core JAVA
Submitted on: 2012-01-14 11:40:43
Submitted By: Javin Paul
Description:quick tip to make any file hidden in Java or create new hidden files in Unix and windows environment. Java File API doesnt provide any direct way of doing this prior to JDK 7 and you need to workaround this by executing DOS command in windows and having dot in start of file name in Unix. from JDK7 onwards you can set attribute hidden as true. More detail...