Package name.pachler.nio.file
Class FileSystems
- java.lang.Object
-
- name.pachler.nio.file.FileSystems
-
public abstract class FileSystems extends java.lang.Object
Provides static method to get the default FileSystem object. It is used to acquire a WatchService via the provided FileSystem instance. Note that this class solely exists in jpathwatch to maintain JDK7 source compatibility, but only offers small subset of the functionality implemented in JDK7.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSystem
getDefault()
Gets the default file system.
-
-
-
Method Detail
-
getDefault
public static FileSystem getDefault()
Gets the default file system. jpathwatch provides this method as a means to get aFileSystem
that in turn allows to create aWatchService
instance.- Returns:
- the default file system object.
-
-