< prev index next >
src/java.base/share/classes/java/nio/file/FileSystems.java
Print this page
@@ -143,10 +143,19 @@
return provider;
}
}
/**
+ * Returns the builtin {@code FileSystem}.
+ *
+ * @return the builtin file system
+ */
+ static FileSystem getBuiltin() {
+ return BuiltinFileSystemHolder.builtinFileSystem;
+ }
+
+ /**
* Returns the default {@code FileSystem}. The default file system creates
* objects that provide access to the file systems accessible to the Java
* virtual machine. The <em>working directory</em> of the file system is
* the current user directory, named by the system property {@code user.dir}.
* This allows for interoperability with the {@link java.io.File java.io.File}
< prev index next >