Java tutorial
import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.util.Set; public class Main { public static void main(String[] args) { //list all the supported views in the current file system FileSystem fs = FileSystems.getDefault(); Set<String> views = fs.supportedFileAttributeViews(); for (String view : views) { System.out.println(view); } } }