Java examples for File Path IO:File System
Determining Views Supported by a Particular File System
import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.util.Set; public class Main { public static void main(String[] args) { FileSystem fs = FileSystems.getDefault(); Set<String> views = fs.supportedFileAttributeViews(); //from w ww . j a v a 2 s. c o m for (String view : views) { System.out.println(view); } } }