Package gnu.bytecode
Class ZipLoader
java.lang.Object
java.lang.ClassLoader
gnu.bytecode.ZipLoader
Load classes from a Zip archive.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
ZipLoader
- Throws:
IOException
-
-
Method Details
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
loadAllClasses
Load all classes immediately from zip archive, close archive.- Returns:
- main class (1st class in archive).
- Throws:
IOException
-
close
Close the zip archive - loadClass will reopen if necessary.- Throws:
IOException
-