List of utility methods to do File System Volume Get
String | getVolumeName(final String devicePath) Gets the volume name. if (devicePath == null) { throw new IllegalArgumentException( "The volume name should be assigned"); final FileSystemView view = FileSystemView.getFileSystemView(); final File dir = new File(devicePath); final String name = view.getSystemDisplayName(dir); if (name == null) { ... |