All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.ClassFile.Loader
java.lang.Object
|
+----harpoon.ClassFile.Loader
- public abstract class Loader
- extends Object
Quick and dirty class file loader.
Looks through CLASSPATH to find the class. Understands .jar and .zip
files.
- Version:
- $Id: Loader.java,v 1.10 1998/11/20 21:44:49 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
Loader()
-
-
classpaths()
- Enumerate the components of the system CLASSPATH.
-
classToResource(String)
-
-
getResourceAsStream(String)
- Open an InputStream on a resource found somewhere in the CLASSPATH.
-
preloadable()
- Return an enumeration of zipfiles in the CLASSPATH that may be
candidates for preloading.
Loader
public Loader()
preloadable
public static Enumeration preloadable()
- Return an enumeration of zipfiles in the CLASSPATH that may be
candidates for preloading.
classpaths
public static Enumeration classpaths()
- Enumerate the components of the system CLASSPATH.
classToResource
public static String classToResource(String classname)
getResourceAsStream
public static InputStream getResourceAsStream(String name)
- Open an InputStream on a resource found somewhere in the CLASSPATH.
- Parameters:
- name - The filename of the resource to locate.
All Packages Class Hierarchy This Package Previous Next Index