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

Provide API to obtain volume label and serial number

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not an Issue
    • P5
    • None
    • 5.0
    • core-libs
    • x86
    • windows_xp

    Description

      A DESCRIPTION OF THE REQUEST :
      There is no way to get any volume information.

      JUSTIFICATION :
      Supposing you'd like to write program which use data from pendrives, cdroms, etc., there is no way to distinguish volumes. You can't get volume serial number, or name. You also can't get type of any volume.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I'd like to see a class which can enumerate available volumes, tell something about their type (cdrom, etc.) and return information about every volume (label, serial). There also should be some control of who can get this information (applets should know nothing about my computer, unless i allow them).

      CUSTOMER SUBMITTED WORKAROUND :
      The only method is to use JNI.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: