Hello, i've a query its regarding FileSystem information
FileSystemView fileSystemView = FileSystemView.getFileSystemView();
System.out.println(" File system list of roots");
File[] roots = File.listRoots();
for (int j = 0; j < roots.length; j++) {
long total = roots[j].getTotalSpace() / 1024;
System.out.println(" Display name "
+ fileSystemView.getSystemDisplayName(roots[j]));
System.out.println(" is drive " + fileSystemView.isDrive(roots[j]));
System.out.println(" is floppy "
+ fileSystemView.isFloppyDrive(roots[j]));
System.out.println(" is readable " + roots[j].canRead());
System.out.println(" is writable " + roots[j].canWrite());
System.out.println(" Total space " + roots[j].getTotalSpace());
System.out.println(" Used Space " + roots[j].getUsableSpace());
with this i was able to find out the information such as total sapce, available space, and name of the drives, but i want to know what is the filesystem the drive is working on like NTFS, FTS, CDFS ... etc
any help is appreciated
Thanks