What methods should go into a java.util.Objects class in JDK 7?
Alan Bateman
Alan.Bateman at Sun.COM
Mon Oct 12 13:43:37 UTC 2009
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.
More information about the core-libs-dev
mailing list