Class MemoryJarURLStreamHandlerFactory

  • All Implemented Interfaces:

    public class MemoryJarURLStreamHandlerFactory
    extends java.lang.Object
    This class installs the iiziLink file system URL stream handler allowing files to be cached in-memory and not locked on the local file system.
    Christopher Mindus
    • Method Detail

      • getInstance

        public static MemoryJarURLStreamHandlerFactory getInstance()
        Returns an initiated instance of the Jar URL stream handler factory. This is the only instance of the factory.
      • installSupport

        public static void installSupport()
        Install the iiziLink URL support for memjar files.
      • createURLStreamHandler

        public createURLStreamHandler​(java.lang.String protocol)
        Creates the URL stream handler for the protocol "memjar".
        Specified by:
        createURLStreamHandler in interface
        the MemoryJarURLStreamHandler or null if the protocol is not "memjar".