Class Handler

java.lang.Object
java.net.URLStreamHandler
com.iizix.util.memjar.Handler
All Implemented Interfaces:
IJarURLStreamHandler

public class Handler extends URLStreamHandler implements IJarURLStreamHandler
The memory Jar URLStreamHandler.

This class must be named Handler for the default system handler search mechanism to function. Normally you will not use this class directly; NpURLStreamHandlerFactory documents how to globally install memjar support.

Author:
Christopher Mindus
  • Field Details

    • DEBUG

      public static boolean DEBUG
      Debug flag, default false.
  • Constructor Details

    • Handler

      public Handler()
      Construct a new Handler.
    • Handler

      public Handler(MemoryJarFile jarFile)
      Handler construction for an open Memory Jar.
      Parameters:
      jarFile - The Jar file to use.
  • Method Details