I know there exists Apache Commons VFS which permits to connect to different FileSystem
, where a FileSystem
may be something like a FTP, HTTP, SFTP, Zip file or simply a local file system.
I am wondering, after some search (most on Google and VFS site) that resulted in nothing, is there were an implementation of java.nio.FileSystem
that would wrap VFS.
My use case is the following: I have a personal project where I need to read file content, or list directory content, to do something with this content (such as indexing, etc).
I am currently using java.nio.Path
to represent the path of file I am reading, and I'd like to add later a feature to work with a SSH connection (I have no need for this "now", but the question still interests me).