Jimfs
An in-memory file system for Java 8+
...It also provides robust support for features like SecureDirectoryStream, WatchService for directory change notifications, and multiple attribute views (basic, posix, unix, dos, and acl). Users can configure Jimfs to mimic UNIX or Windows-style paths and behaviors, depending on the environment they need to simulate.