I have a Path to zip file on virtual filesystem (jimfs) and I need to open this zip file using ZipFile.
But there is no constructor in ZipFile to get Path as argument, only File.
However, I can't create from my Path a File (path.toFile()) because I get UnsupportedOperationException. How can I open my zip file with ZipFile? Or maybe there are other ways of working with zip files which are not on default filesystem?