Class ZipUrlStreamHandlerProvider

java.lang.Object
java.net.spi.URLStreamHandlerProvider
io.github.ascopes.protobufmavenplugin.fs.ZipUrlStreamHandlerProvider
All Implemented Interfaces:
URLStreamHandlerFactory

public final class ZipUrlStreamHandlerProvider extends URLStreamHandlerProvider
URL stream handler SPI implementation that enables the use of the "zip" protocol within URLs. This allows users to dereference files within ZIP archives.

Underneath, this simply delegates to the JDK's JAR provider, as both formats work in the same way internally.

Since:
3.2.0
Author:
Ashley Scopes
  • Constructor Details

    • ZipUrlStreamHandlerProvider

      public ZipUrlStreamHandlerProvider()
  • Method Details