Is there a Java library that provides an abstraction layer over the file system and jar / zip. I checked apache common vfs , but does not support operations such as listing the contents of a directory and renaming a file for Jar / Zip.
Suppose there is some code that uses java.io.File and its friends to access files in the file system, and I need to make it work if these files are in Jar / Zip. I would like to find an API that is very similar to java.io.File in order to simplify code reorganization.
source share