JavaScript is disabled on your browser.
Skip navigation links
gnu.bytecode

Class ZipLoader



  • public class ZipLoader
    extends java.lang.ClassLoader
    Load classes from a Zip archive.
    • Constructor Summary

      Constructors
      Constructor and Description
      ZipLoader (java.lang.String name)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void close ()
      Close the zip archive - loadClass will reopen if necessary.
      java.lang.Class loadAllClasses ()
      Load all classes immediately from zip archive, close archive.
      java.lang.Class loadClass (java.lang.String name, boolean resolve)
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZipLoader

        public ZipLoader(java.lang.String name)
         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • loadClass

        public java.lang.Class loadClass(java.lang.String name,
         boolean resolve)
         throws java.lang.ClassNotFoundException
        Overrides:
        loadClass in class java.lang.ClassLoader
        Throws:
        java.lang.ClassNotFoundException
      • loadAllClasses

        public java.lang.Class loadAllClasses()
         throws java.io.IOException
        Load all classes immediately from zip archive, close archive.
        Returns:
        main class (1st class in archive).
        Throws:
        java.io.IOException
      • close

        public void close()
         throws java.io.IOException
        Close the zip archive - loadClass will reopen if necessary.
        Throws:
        java.io.IOException
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /