Ulf Zibis wrote:
:
Anyway, I would like to see zip/jar URIs as valid parameter to open a file/path/stream/channel via new File(URI) or Paths.get(URI).
There is a file system provider (albeit demo/prototype quality) for zip file in the nio repository. Just add ZipFileSystem.jar to your classpath and you can treat the contents of a zip or JAR file as a read-only file system. You can use URIs, such as zip:///home/foo.zip#/top/bar, to locate files if you wish.

-Alan.

Reply via email to