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

Provide API to obtain volume label and serial number

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: