How make file hidden in Java with Example

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

How make file hidden in Java with Example

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
http://javarevisited.blogspot.com/2012/01/how-to-hide-file-java-program-example.html
  • Total Hits: 12998

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 141 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2012-01-14 11:40:43

  • Submitted By: Javin Paul

  • Set as Favorite

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...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.3%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.93%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 12.06%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.64%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.08%  41

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements