Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4267530

File.setHidden() to create a hidden file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic

      Name: krT82822 Date: 08/31/99


      There is no way to create a hidden file on windows platforms.

      I suggest a setHidden(java.io.File) method which sets the hidden
      bit in the windows file attribute, or prefixes the file name
      with a period under UNIX. I dont know the methods used on other platforms.

      (see also bug # 4131223 --eval1127@eng, 8/31/99)
      (Review ID: 94650)
      ======================================================================

            alanb Alan Bateman
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: